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: Upgrades
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
‎Jun 09, 2009
02:44 AM
Upgrades
Hi ive developed a VB2008 winforms application. Created a basic.msi project. Created the installer. Installed the setup. Everything there is fine.
Altered my VB2008 project. Created another basic.msi project with the new .exe from my VB2008 project.
I use the same Upgrade code and Product code for both .msi's. I jst change the version code from 1.3.0010 to 1.3.0011.
When i build the .msi and i install the new setup, its says do you want to upgrade product. SO i say yes and it does the installation. But when i run the program the new changes are not present.
Unless i un install the current application and re install the new setup...
Can someone help me...with how to upgrade the application to the new one. ?
Altered my VB2008 project. Created another basic.msi project with the new .exe from my VB2008 project.
I use the same Upgrade code and Product code for both .msi's. I jst change the version code from 1.3.0010 to 1.3.0011.
When i build the .msi and i install the new setup, its says do you want to upgrade product. SO i say yes and it does the installation. But when i run the program the new changes are not present.
Unless i un install the current application and re install the new setup...
Can someone help me...with how to upgrade the application to the new one. ?
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2009
08:20 AM
Did you change the version in both the msi and the code file? The Windows Installer update rules state that code files are only updated if their version is newer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2009
08:30 AM
Ive kept the Upgrade and Product Code of both msi's the same.
eg
Product Code:{00000000-0000-0000-0000-000000000000}
Upgrade Code:{11111111-1111-1111-1111-111111111111}
The version number of the first Msi is 1.3.0010
So i changed the version number of the upgrade .msi to 1.3.0012
eg
Product Code:{00000000-0000-0000-0000-000000000000}
Upgrade Code:{11111111-1111-1111-1111-111111111111}
The version number of the first Msi is 1.3.0010
So i changed the version number of the upgrade .msi to 1.3.0012
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2009
08:31 AM
Code file ??
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2009
11:14 AM
The files you are trying to overwrite in the upgrade. If the version numbers are the same they will not be overwritten.
code file = the compiled application (exe or dll files)
Also if those are the actual values you are using for your product and upgrade codes, you will run into problems. Those values are supposed to be generated GUIDs. If you manually set them you lose the uniqueness that is required to make them always work.
code file = the compiled application (exe or dll files)
Also if those are the actual values you are using for your product and upgrade codes, you will run into problems. Those values are supposed to be generated GUIDs. If you manually set them you lose the uniqueness that is required to make them always work.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2009
02:19 AM
Those upgrade and product codes where just for illustration. So if i leave both codes for both setups and change the upgrade setups version number higher for eg 1.3.0011 from 1.3.0010 then all files should be upgraded including the applications .exe ?