Custom Action to uninstall Setup.exe (Inno)
Hello,
I have created an MSI project, created a custom action to install Setup.exe, for this no problem.
But i can't find the good custom action parameter to uninstall the software, i want to call the "unins000.exe" file in "C:\Program Files (x86)\" but every kind of custom action i have tried fail.
Can someone help me ?
Thanks
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
anonymous_9363
8 years ago
Posted by:
Pressanykey
8 years ago
Hi,
Why would you want to write an MSI wrapper around a legacy setup.exe?
Either recapture it using a software of your choice (RayPack for Dell KACE) or use a script wrapper (vbs , Power shell) around the original legacy setup.
Cheers
Phil
Why would you want to write an MSI wrapper around a legacy setup.exe?
Either recapture it using a software of your choice (RayPack for Dell KACE) or use a script wrapper (vbs , Power shell) around the original legacy setup.
Cheers
Phil
Comments:
-
Because my company want a unique MSI on this Setup.exe, and is it possible to include it in a MSI, i want don't know how to configure the uninstall custom action.
Of course i can try repackager but we will loose the editor support. - tens 8 years ago-
Then you know where in the registry the legacy setup.exe puts it's uninstall string. You just need to read this out (AppSearch) and pass this as custom action data to your custom action that is called in execute deferred to call the legacy uninstaller.
However I must strongly recommend using this method to deploy, and would rather recapture the legacy installation, or insist that the vendor supplies a msi in the first place. - Pressanykey 8 years ago
Posted by:
tens
8 years ago
Posted by:
tens
8 years ago
Posted by:
dunnpy
8 years ago
I would check your switches on the commandline too and maybe go for the full range of switches, just to avoid any unwanted results that haven't come up in your testing.
I don't know what you mean about 'loosing the editor support' - but Greenshot provide details on where to drop files etc. for configuring it 'with your own or third party installer, for instance when you want to deploy Greenshot to multiple PC’s.' on their website.
Your scenario is exactly why they publish this information.
Dunnpy
I don't know what you mean about 'loosing the editor support' - but Greenshot provide details on where to drop files etc. for configuring it 'with your own or third party installer, for instance when you want to deploy Greenshot to multiple PC’s.' on their website.
Your scenario is exactly why they publish this information.
Dunnpy
Comments:
-
The application i need to package is not greenshot, i use greenshot because it is Inno setup same as the setup i need the package, but mine is 1.5GO, and greenshot 2MB, so it is faster to work with it. - tens 8 years ago
-
@Dunnpy, looks like quick & dirty is preferred over correct and thorough...
Shame really, when things like this blow up it's hard to do any analysis and just means spending time trying to fix something that should not have been broken in the first place... - Pressanykey 8 years ago