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?
Can I remove installaware setup by msiexec and productguid?
-
- Posts: 7
- Joined: Wed Feb 20, 2013 6:15 am
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Can I remove installaware setup by msiexec and productgu
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
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
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
-
- Posts: 7
- Joined: Wed Feb 20, 2013 6:15 am
Re: Can I remove installaware setup by msiexec and productgu
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...
msiexec /x {product-guid} REMOVE=ALL
this approach works well with almost any msi-based setups...
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Can I remove installaware setup by msiexec and productgu
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.
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
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
-
- Posts: 7
- Joined: Wed Feb 20, 2013 6:15 am
Re: Can I remove installaware setup by msiexec and productgu
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...
But I must also support downgrade scenario, and for this I need to IA package can be safely unmerged using msiexec...
-
- Posts: 7
- Joined: Wed Feb 20, 2013 6:15 am
Re: Can I remove installaware setup by msiexec and productgu
Or is there a way for IA to show custom messagebox and failing during uninstall via msiexec depending on cmdline?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Can I remove installaware setup by msiexec and productgu
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?
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.
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
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
-
- Posts: 7
- Joined: Wed Feb 20, 2013 6:15 am
Re: Can I remove installaware setup by msiexec and productgu
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.
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.
Who is online
Users browsing this forum: No registered users and 81 guests