Can I remove installaware setup by msiexec and productguid?

Got a problem you cannot solve? Try here.
diverofdark
Posts: 7
Joined: Wed Feb 20, 2013 6:15 am

Can I remove installaware setup by msiexec and productguid?

Postby diverofdark » Tue Apr 02, 2013 4:18 am

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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Can I remove installaware setup by msiexec and productgu

Postby FrancescoT » Tue Apr 02, 2013 7:38 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

diverofdark
Posts: 7
Joined: Wed Feb 20, 2013 6:15 am

Re: Can I remove installaware setup by msiexec and productgu

Postby diverofdark » Tue Apr 02, 2013 8:47 am

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...

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Can I remove installaware setup by msiexec and productgu

Postby FrancescoT » Tue Apr 02, 2013 10:09 am

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=0

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

diverofdark
Posts: 7
Joined: Wed Feb 20, 2013 6:15 am

Re: Can I remove installaware setup by msiexec and productgu

Postby diverofdark » Wed Apr 03, 2013 1:51 am

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...

diverofdark
Posts: 7
Joined: Wed Feb 20, 2013 6:15 am

Re: Can I remove installaware setup by msiexec and productgu

Postby diverofdark » Wed Apr 03, 2013 1:52 am

Or is there a way for IA to show custom messagebox and failing during uninstall via msiexec depending on cmdline?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Can I remove installaware setup by msiexec and productgu

Postby FrancescoT » Wed Apr 03, 2013 11:09 am

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.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

diverofdark
Posts: 7
Joined: Wed Feb 20, 2013 6:15 am

Re: Can I remove installaware setup by msiexec and productgu

Postby diverofdark » Thu Apr 04, 2013 2:21 am

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 78 guests