reinstallation - Windows Mobile Development and Hacking General

hi i have a little problem...
can i from setup.dll find difference betwen uninstall app and reinstall app??

???????
I have no idea what it is you are trying to do here, but there is no such thing as "reinstalling app".
If you try to run a cab installation over an existing installation it will first go through the uninstall procedure (as best as it can, running programs can not be deleted) then install as usual.

pawelek said:
hi i have a little problem...
can i from setup.dll find difference betwen uninstall app and reinstall app??
Click to expand...
Click to collapse
Uninstall removes app without installing it again where reinstall removes app and installs it again. I hope this answers your question.

bleah..
ok but i need to see it from setup.dll
uninstall procedure should remove registry entries but if i simply reinstall app it shouldn't remove registry...

If you want to see what someone else's setup DLL does you need IDA and understanding of ARM assembler.
As for registry it depends: If the registry was added by code in setup.dll then the uninstall function in that DLL should be in charge of removing it.
If the registry was added through the inf file of the cab (not all cabs have setup.dll, it is optional) it will be removed by wceload.exe which processes the cab.

Related

deleting registry keys automatically within a cab file

Hello professionals ;-)
i have to delete some registry keys during an softwareinstall with a cab file.
Can anybody tell me how to make an installationfile (like *.cab ore something else) deletes some keys in the registry!
whatfor?
i want to install some programs (like pocket plus) and make some configuration during cab file installation. so i looked into the registry what changes when i configurate pocket plus.
as i noticed there where som keys changed i can overwrite with the new values BUT there are some registry keys deleted also. How get them out???
is there any way ??
Have a look at creating a custom setup.dll file to include in the cab file.
You can certainly delete registry entries using it.
I don't know about deleting registry using cab files.
I think there is only options to allow or not to replace a registry key if exists during install.
Here a good link for .cab files Cab files
Apart that you can make your own install from PC to Pocket using RAPI. With that no problem to delete keys, copy files, add new keys ...
want to delete some keys bevore install
Thank's for your tips!
Have a look at creating a custom setup.dll file to include in the cab file. You can certainly delete registry entries using it.
Click to expand...
Click to collapse
is there more information about this ?
how it works?
how to do?
as i looked at the CABFiles Website this looks very complicated to me ;-(
i am an absolute beginner in developing software!
i need an easy way to delete some regkeys during installation.
I think you can use the excellent scripting utility called nScriptM to achieve your goal. Simply run a search on this in google and you will come across a number of resources including the download location.
k_kirk said:
I think you can use the excellent scripting utility called nScriptM to achieve your goal.
Click to expand...
Click to collapse
i will try this, Thanks!

CAB files without uninstall info

I've just started to make my own CAB files, and I would like to know how you can build one without any uninstall info. So after the installation there shouldn't be an entry in the uninstall section. TIA.
In e-PocketSetup 2003 that is an option
Thanks!
Thanks for the info.

Is There a Way to....

Hello All,
Is there a way to strip an installed application from a PPC into an installable .CAB file, if one has lost the installation files/DVD, but still have the application installed on the hand-held.
Thanks in Advance.
Not really.
You can always copy the files out (if you can find them all - some may be in windows folder or places other then the main app folder) but you still would need to know every registry key the app requires.
If you use sktools it tells you all the files installed and registry entries. You could then extract all the files as levenum said and make a cab including the registry entries.
Hi lev
ahh..hhaa !
meschle said:
If you use sktools it tells you all the files installed and registry entries. You could then extract all the files as levenum said and make a cab including the registry entries.
Hi lev
Click to expand...
Click to collapse
My experience with SKTools makes me cringe...my ATRE would not stop rebooting until I remove the SD card(where SK Tool was installed and remove it completely.
What software do I need to make a .cab file ?
I will still make all efforts to attempt this anyways....
Ive had no problem with sktools - i always install to main memory. If you manually make your cab then use cabiwiz - or use a commercial app like wince cab manager. Which program are you trying to put together?
cabiwiz enclosed inc example app and tutorials
Funny thing - I was replying to another thread with similar question stating that there would be a problem finding out all the REG keys.
Then jackleung posted about a tool called "ssnap" that supposedly can take an image of the system.
Comparing an image from before and after installation should show all the changes a cab makes.
Since I am not personally familiar with the tool I can't say any more about it.
As for cab creation - while I use cabwiz my self, it is a command line tool and you need to know ho w to write inf files for it.
For a beginner an app like WinCE cab manager will be more comfortable.
It is a shareware, so it will stop working after a while unless you pay but it is very good.
P.S.
Hi Mark

Remove cab after installation

Hello. I dont want remove the cab from my SD after installation. I saw in somewhere that it is possible, but i didnt find again. Can you send me the link? Or the cab to do the registry change.
Tks.
Easy, go here with any registry editor:
HKCR\cabfile\Shell\open\command
It should looks like: wceload.exe "%1" /nodelete
Just remove /nodelete.
yes, that's the proper way to do it. If, like me, you always need* the latest ROM and are often reflashing, remember you could also make your cabs read-only.
I found it was easier to do this in the long term as I have many cabs stored on my PC and sometimes I was forgetting to edit reg. in newly installed ROM and losing cabs!
*like a fish needs a bicycle, I sometimes think...

how to install

i have been trying to install netcfv3.5 and it says that a newer versoin is installed. torun games and certain apps such as zenonia and bsb tweaks i need to install that framework. if i uninstall the framework i have installed will all my programs run correctly and second how do i unistall it.
napoleontheruler said:
i have been trying to install netcfv3.5 and it says that a newer versoin is installed. torun games and certain apps such as zenonia and bsb tweaks i need to install that framework. if i uninstall the framework i have installed will all my programs run correctly and second how do i unistall it.
Click to expand...
Click to collapse
Then it means you don't need it...just install your cabs
secano said:
Then it means you don't need it...just install your cabs
Click to expand...
Click to collapse
to play zenonia and run bsb tweaks i do or is there an update cab file that will work on the framework i have.
napoleontheruler said:
to play zenonia and run bsb tweaks i do or is there an update cab file that will work on the framework i have.
Click to expand...
Click to collapse
You should be fine, go ahead and install them.
how do i install files in a folder and out of the folder is registry file? help
how do i install files in a folder and out of the folder is registry file?
when i down load a file. some of them come not as a cab file but it comes it contains a folder and a registry file out of the folder. i believe folder contains program file. where do i put which and where? can u help.

Categories

Resources