[Help]How do I modify the uninstall exe?
I want to write some entries to the registry when an application I’m distributing is installed. That I have managed to do fine by editing setup1.exe.
However I would also like these registry entries to be removed when the program is uninstalled and I’m not sure how to go about this.
Any advice?
Btw new here - hello.
Re: [Help]How do I modify the uninstall exe?
Use a different installer...
Re: [Help]How do I modify the uninstall exe?
Could you elaborate a bit please?
Re: [Help]How do I modify the uninstall exe?
Quote:
Originally Posted by randem
Use a different installer...
this mean,
An installer like innosetup has simple codes to remove registry keys while Un-installing.
fro example
Code:
[Registry]
Root: HKCU; Subkey: "MyProgram\verion 1.2"; Flags: uninsdeletekey
BTW, purplekitty, Welcome to the forum :wave:
Re: [Help]How do I modify the uninstall exe?
Moved to Application Deployment
Re: [Help]How do I modify the uninstall exe?
Quote:
Originally Posted by Fazi
this mean,
An installer like innosetup has simple codes to remove registry keys while Un-installing.
fro example
Code:
[Registry]
Root: HKCU; Subkey: "MyProgram\verion 1.2"; Flags: uninsdeletekey
BTW, purplekitty, Welcome to the forum :wave:
Thanks for the help and the welcome :)
I'll have a look at innosetup and see how I get on.
Re: [Help]How do I modify the uninstall exe?
BTW,
You can also try this tool. An innosetup support tool i find it usufull. (dont estimate by it's skinn color :D , i use the old version)
http://www.***********/**********.html
Re: [Help]How do I modify the uninstall exe?
Fazi,
Why don't you use the current version?
Re: [Help]How do I modify the uninstall exe?
Are you sure you want to do this at all?
Microsoft has recanted its position on using the registry for application settings in most scenarios. Beginning with Vista Microsoft encourages moving away from this practice.
Registry Virtualization in Windows Vista
Quote:
Virtualization Recommendations
Virtualization is intended only to assist in application compatibility with existing programs. Applications designed for Windows Vista should not perform writes to sensitive system areas, nor should they rely on virtualization to provide redress for incorrect application behavior. When updating existing code to run on Windows Vista, developers should ensure that, during run-time, applications only store data in per-user locations or in computer locations within %alluserprofile% that have access control list (ACL) settings properly set. Refer the UAC Developer Guide for more guidelines on developing applications for Windows Vista.
Re: [Help]How do I modify the uninstall exe?
Quote:
Originally Posted by dilettante
Microsoft has recanted its position on using the registry for application settings in most scenarios. Beginning with Vista Microsoft encourages moving away from this practice.
And people said I was crazy when I said don't use the registry that much use ini files...
Re: [Help]How do I modify the uninstall exe?
You're simply ahead of your time.
Re: [Help]How do I modify the uninstall exe?
Quote:
Originally Posted by randem
Fazi,
Why don't you use the current version?
Randem,
recently i did not had any installation builds
Mostly working on webbased projects these days :)
Re: [Help]How do I modify the uninstall exe?
Ah, Ok because the skins have changed drastically lately...
Of course you can choose your own color...
Re: [Help]How do I modify the uninstall exe?