This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installation Over the top problems!
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2014
04:52 AM
Installation Over the top problems!
Hello everyone.
I would like to be able to make an installation over the top which to me (correct me if I'm wrong) means I'd like to be able to install a program several time without going through the Uninstall/Modify/Repair Dialog or through the "Do you want to uninstall this program" messageBox.
I got to find a first solution by launching the program through a batch file with Setup.exe /V" REINSTALLMODE=voums REINSTALL=ALL"
1. I would be nice to be able to embed those parameters so that I haven't got to use a batch file but can directly launch the setup.exe file.
2. the major issue now is that I am not able to uninstall the program since it doesn't appear anymore in the uninstall part of the control panel. And the setup.exe /x option is not working
So basically if I use this option to make over the top installations i can't uninstall the program.
Thank you for your kind help
Patrick
I would like to be able to make an installation over the top which to me (correct me if I'm wrong) means I'd like to be able to install a program several time without going through the Uninstall/Modify/Repair Dialog or through the "Do you want to uninstall this program" messageBox.
I got to find a first solution by launching the program through a batch file with Setup.exe /V" REINSTALLMODE=voums REINSTALL=ALL"
1. I would be nice to be able to embed those parameters so that I haven't got to use a batch file but can directly launch the setup.exe file.
2. the major issue now is that I am not able to uninstall the program since it doesn't appear anymore in the uninstall part of the control panel. And the setup.exe /x option is not working
So basically if I use this option to make over the top installations i can't uninstall the program.
Thank you for your kind help
Patrick
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2014
01:32 PM
Patrick,
In the releases view you can specify the MSI command-line arguments that you specified. Click on the Setup.exe tab and the second field is for the MSI Command-Line Arguments.
However, I would first check the product code for the MSI in question. You should specify msiexec /x {ProductGUID} to correctly uninstall the previous version. Note that the ProductCode GUID should match the value installed on the system.
Make sure that you have not changed the UpgradeCode value, unless you are defining a new product. In that case you should not be worrying about uninstalling the previous product.
You may want to review the information regarding major upgrades vs minor upgrades on MSDN as well as it sounds as if you are trying to implement a minor upgrade while implementing the steps for a major upgrade (changing ProductVersion and ProductCode).
In the releases view you can specify the MSI command-line arguments that you specified. Click on the Setup.exe tab and the second field is for the MSI Command-Line Arguments.
However, I would first check the product code for the MSI in question. You should specify msiexec /x {ProductGUID} to correctly uninstall the previous version. Note that the ProductCode GUID should match the value installed on the system.
Make sure that you have not changed the UpgradeCode value, unless you are defining a new product. In that case you should not be worrying about uninstalling the previous product.
You may want to review the information regarding major upgrades vs minor upgrades on MSDN as well as it sounds as if you are trying to implement a minor upgrade while implementing the steps for a major upgrade (changing ProductVersion and ProductCode).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2014
02:55 AM
Hell Dan,
thank you for the reply.
So first of all let me make it clear what I'm struggling for.
I would like to be able to run my installer as if it was the first time for any version.
So say that I'm doing launching the version 1.00.00 the first time, then - ON THE SAME MACHINE - I install the 1.01.00 I do not want to get any remove/modify dialogue.
To do this as I I told you I launch the setup.exe installer through setup.bat which launches the command.
start .\Setup.exe /V" REINSTALLMODE=voums REINSTALL=ALL"
Is this the right way to do what I need?!?
That being said as I told you I have to be able to uninstall the latest installed version from the Programs and features tab in the control panel.
To do that I have copied the guid from Installation Information---->General Information---->Product Code ---> {4E513BB8-74A0-4626-A967-EFB85EAE9759}
You can see that in the attached Scr1.jpg picture.
Then -as you can see in the Scr2.jpg picture- I pasted this code in Media---->Releases---->Setup Tab----> Msi Command-Line Arguments----> /x {4E513BB8-74A0-4626-A967-EFB85EAE9759}
Alas that didn't work. When I launch the installer it says 1629 invalid command line as you can see in Scr3.jpg
So now I'm puzzled and don't know where I went wrong.
Thank you for your help
Patrick
thank you for the reply.
So first of all let me make it clear what I'm struggling for.
I would like to be able to run my installer as if it was the first time for any version.
So say that I'm doing launching the version 1.00.00 the first time, then - ON THE SAME MACHINE - I install the 1.01.00 I do not want to get any remove/modify dialogue.
To do this as I I told you I launch the setup.exe installer through setup.bat which launches the command.
start .\Setup.exe /V" REINSTALLMODE=voums REINSTALL=ALL"
Is this the right way to do what I need?!?
That being said as I told you I have to be able to uninstall the latest installed version from the Programs and features tab in the control panel.
To do that I have copied the guid from Installation Information---->General Information---->Product Code ---> {4E513BB8-74A0-4626-A967-EFB85EAE9759}
You can see that in the attached Scr1.jpg picture.
Then -as you can see in the Scr2.jpg picture- I pasted this code in Media---->Releases---->Setup Tab----> Msi Command-Line Arguments----> /x {4E513BB8-74A0-4626-A967-EFB85EAE9759}
Alas that didn't work. When I launch the installer it says 1629 invalid command line as you can see in Scr3.jpg
So now I'm puzzled and don't know where I went wrong.
Thank you for your help
Patrick
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 29, 2014
04:18 AM
Patrick,
You are using the command line option incorrectly. Did you check the help for how this should be used. I was suggesting typing in your REINSTALLMODE and REINSTALLALL commands here so that they are applied all of the time.
What you are trying to do is highly irregular. MSI is designed from the ground up to manage install, uninstall, reinstall and resiliency. If a product of the same uninstall code is found then you are trying to manipulate the installer to not upgrade it for some reason when you really want the installer to act like a new install without removing the previous install, but still overwriting the existing install, that to me is a recipe for disaster. In reality you should probably change the upgrade code and product code since you want these to always be a 'new' install.
Note that the command line option in the installer will only apply if the user executes the setup.exe. The registry contains information to the MSI package not your setup.exe package. So when using add/remove programs the command line parameters are not available.
If you are truly trying to 'upgrade' a previous version then you should review the requirements for a major upgrade and examine the underlying issue of why showing a message indicating that MSI is upgrading a previous version is a blocker for you. Do you need the installer to always reevaluate the feature conditions? Component conditions? A major upgrade should allow for this.
You are using the command line option incorrectly. Did you check the help for how this should be used. I was suggesting typing in your REINSTALLMODE and REINSTALLALL commands here so that they are applied all of the time.
What you are trying to do is highly irregular. MSI is designed from the ground up to manage install, uninstall, reinstall and resiliency. If a product of the same uninstall code is found then you are trying to manipulate the installer to not upgrade it for some reason when you really want the installer to act like a new install without removing the previous install, but still overwriting the existing install, that to me is a recipe for disaster. In reality you should probably change the upgrade code and product code since you want these to always be a 'new' install.
Note that the command line option in the installer will only apply if the user executes the setup.exe. The registry contains information to the MSI package not your setup.exe package. So when using add/remove programs the command line parameters are not available.
If you are truly trying to 'upgrade' a previous version then you should review the requirements for a major upgrade and examine the underlying issue of why showing a message indicating that MSI is upgrading a previous version is a blocker for you. Do you need the installer to always reevaluate the feature conditions? Component conditions? A major upgrade should allow for this.