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
- :
- Re: Installation goes for upgrade?
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
‎May 21, 2009
12:06 AM
Installation goes for upgrade?
Hi,
If I run my installer on a system which has the same version of the product installed..it prompts me with a message "Do you want to upgrade product?". How can I disable this in InstallScript MSI project?
I dont want the upgrade prompt, instead I have to display the Maintainence dialog.
Can I override OnSetUpdateMode() function in InstallScript MSI? I tried doing the same, but gave me an error stating prototype not found.
Thanks alot!
Anitha
If I run my installer on a system which has the same version of the product installed..it prompts me with a message "Do you want to upgrade product?". How can I disable this in InstallScript MSI project?
I dont want the upgrade prompt, instead I have to display the Maintainence dialog.
Can I override OnSetUpdateMode() function in InstallScript MSI? I tried doing the same, but gave me an error stating prototype not found.
Thanks alot!
Anitha
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2009
12:37 AM
Hi,
I too faced the same problem: 😞
http://community.acresso.com/showthread.php?t=188007
http://community.acresso.com/showthread.php?t=187971
I didnt get the reason but i solved that issue... its good if anyone tell us why it is happening....... 🙂
I too faced the same problem: 😞
http://community.acresso.com/showthread.php?t=188007
http://community.acresso.com/showthread.php?t=187971
I didnt get the reason but i solved that issue... its good if anyone tell us why it is happening....... 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2009
12:42 AM
Thanks anil.
Did you solve the issue with msizap?
anitha
Did you solve the issue with msizap?
anitha
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2009
01:00 AM
Hi,
No i didnt use that....
can u try the following.... this approach worked for me...
+ r u getting this issue with that installer for the first time?
+ if not and if it is working properly upto now, then check the code difference
+ if u find difference, check the dependecy of the changed code
+ revert the changes and test that installer
+ if it is working properly, then install the same installer in the machine where u r getting the 'upgrade' message, it will go for repair mode
+ after the upgrade it will create two entries in ARP
+ then it uninstalled properly
No i didnt use that....
can u try the following.... this approach worked for me...
+ r u getting this issue with that installer for the first time?
+ if not and if it is working properly upto now, then check the code difference
+ if u find difference, check the dependecy of the changed code
+ revert the changes and test that installer
+ if it is working properly, then install the same installer in the machine where u r getting the 'upgrade' message, it will go for repair mode
+ after the upgrade it will create two entries in ARP
+ then it uninstalled properly
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2009
01:14 AM
Anil,
Installer goes for an upgrade only when I build the project again (without version change) and also when the installation is cancelled in between.
And it's behaving this way, since it was created 😞
I wanted to know how to override OnSetUpdateMode() in InstallScript MSI project.
Anitha
Installer goes for an upgrade only when I build the project again (without version change) and also when the installation is cancelled in between.
And it's behaving this way, since it was created 😞
I wanted to know how to override OnSetUpdateMode() in InstallScript MSI project.
Anitha
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2009
11:43 AM
If you check the two installers they will have different package codes. They might even have different product codes, but the same upgrade code.
These GUIDs determine the behavior you will see. In order for a product to be recognized as the same install all the GUIDS must match.
By default a new package code is generated every time you build. Product codes should only be changing when you change them, but not sure about that in an installscript MSI. I have done most of my work in a Basic MSI project.
James
These GUIDs determine the behavior you will see. In order for a product to be recognized as the same install all the GUIDS must match.
By default a new package code is generated every time you build. Product codes should only be changing when you change them, but not sure about that in an installscript MSI. I have done most of my work in a Basic MSI project.
James
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 26, 2009
04:28 AM
Thanks James.
I set the entry "Generate Package Code" to "No" in Releases, it's working fine now! 🙂
I set the entry "Generate Package Code" to "No" in Releases, it's working fine now! 🙂