cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
deskny
Level 3

How to Make setup.exe start msi without such command line parameters

I have basic msi installer and single executable installation type, because my installer includes prerequesites.
When I run setup.exe, it starts msi projects with the following command line:
REINSTALL=ALL REINSTALLMODE=vomus IS_MINOR_UPGRADE=1
But I don't want to use reinstall mode!

Does anybody know how to make setup.exe start msi without such command line parameters?
Labels (1)
0 Kudos
(3) Replies
g_noyer
Level 4

Hello,
According the information you post in this thread, it seems that you are doing an upgrade.
It seems that you have a previous version of your product, and launching the new version is considered as a minor upgrade.
Regards
Gilles Noyer
0 Kudos
deskny
Level 3

I'd want to prevent situation, when developers forget to change the product version - so there will be two packages with different sources, but with the equal product version.

When I run the msi installer - I get a message that my system already have different version of the product - it's correct.

But when I run setup.exe - the installator upgrade system!
I want the setup.exe behave themselves like the setup.msi does. 😞
0 Kudos
g_noyer
Level 4

If I understand your requirements:

  • You will never use minor upgrade
  • You want to warn if you have a minor upgrade to detect an error in the
development process.

Maybe in this case you can add a Custom Action

  • Custom Action type : error
  • Test: if IS_MINOR_UPGRADE= 1

This CU should be inserted at the beginning of the sequence
I hope this can help you.
Regards
Gilles Noyer
0 Kudos