Page 1 of 1
Can I remove installaware setup by msiexec and productguid?
Posted: Tue Apr 02, 2013 4:18 am
by diverofdark
Hi there!
I just created setup, and everything looked fine... But I have to ensure compatibility with our previous installer(AdvancedInstaller) and downgrade scenario.
Our current setup removes another version by calling something like:
msiexec /x {PRODUCTGUID} REMOVE=ALL
but current installer(even without turned on native engine) fails to remove in such way. As far as I researched it's due to not specified SRCDIR(in launchcondition), and source folder which is specified for installed msi product is tempdir and removed after install.
Is there any way for me to support removing a product in such way using InstallAware?
Re: Can I remove installaware setup by msiexec and productgu
Posted: Tue Apr 02, 2013 7:38 am
by FrancescoT
Dear User,
I'm not quite sure if I follow your question.
Do you want to uninstall a setup package released with another tool from InstallAware?
Regards
Re: Can I remove installaware setup by msiexec and productgu
Posted: Tue Apr 02, 2013 8:47 am
by diverofdark
Yes, i want to uninstall installaware generated setup using standart msi commmand like
msiexec /x {product-guid} REMOVE=ALL
this approach works well with almost any msi-based setups...
Re: Can I remove installaware setup by msiexec and productgu
Posted: Tue Apr 02, 2013 10:09 am
by FrancescoT
Dear User,
So, you don't want to unistall a package released with another tool from InstallAware, but you want to uninstall an IA setup package.
Please have a look at the following link where is available the "uninstalllnk.doc" tutorial.
http://www.installaware.com/forum/viewtopic.php?f=2&t=6564&start=0Regards.
Re: Can I remove installaware setup by msiexec and productgu
Posted: Wed Apr 03, 2013 1:51 am
by diverofdark
No, I can uninstall package released by another tool using InstallAware perfectly, it's our upgrade scenario.
But I must also support downgrade scenario, and for this I need to IA package can be safely unmerged using msiexec...
Re: Can I remove installaware setup by msiexec and productgu
Posted: Wed Apr 03, 2013 1:52 am
by diverofdark
Or is there a way for IA to show custom messagebox and failing during uninstall via msiexec depending on cmdline?
Re: Can I remove installaware setup by msiexec and productgu
Posted: Wed Apr 03, 2013 11:09 am
by FrancescoT
Dear User,
the link I have posted with my previous reply, describes exactly the steps required to obtain the correct "unnistall link" to use from command line.
The document also describes how to store this value, in order to use it from an application or from a setup package not builded using IA.
Did you read it?
Or is there a way for IA to show custom messagebox and failing during uninstall via msiexec depending on cmdline?
I'm not quite sure if I follow your question, ... to display a message-box in case of error, just place a "MessageBox" command within a conditional statement.
Regards.
Re: Can I remove installaware setup by msiexec and productgu
Posted: Thu Apr 04, 2013 2:21 am
by diverofdark
Hi!
Yes, I read this, but I can't change behavior of our already released installer!
Again, as far as I researched - your generated MSI file is just designed to launch bootstrapper,
but in scenario of removing via msiexec it can't find it and returns success(while done nothing)!
Also obviously I tried to add messagebox in msicode, but I didn't ever appear, because bootstrapper was never launched.