how to Build a upgrade MSI package
Hi,
i'm new to packaging and would like to know how i can build a upgrade package that will uninstall the old version if it exists on the machine and install the new upgraded version. I need this package to install fully if there is a old version or not. This is the first time i will be doing this , so please point me to the most resources or details you can provide me .
I thank you very much in advance![:D]
i'm new to packaging and would like to know how i can build a upgrade package that will uninstall the old version if it exists on the machine and install the new upgraded version. I need this package to install fully if there is a old version or not. This is the first time i will be doing this , so please point me to the most resources or details you can provide me .
I thank you very much in advance![:D]
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
jonasm
17 years ago
Hi there!
The easyest way, in my opinion, to do that is to make sure you have the same UpgradeCode on both packages, but a newer package version in the new one. If you are using AdminStudio you can just go to the "Upgrades"-folder in the left view.
There you just add a "Major Upgrade" and the other two settings can be left as is. ("Products sharing the same upgrade code" and "Any earlyer version").
I dunno how you do it in Wise, but you can do directly in the Upgrade-table too.
I have experienced some problems with it myself if you change the version number after you have added the Upgrade. Then just delete and re-add the Upgrade.
Good luck!
/Jonas
The easyest way, in my opinion, to do that is to make sure you have the same UpgradeCode on both packages, but a newer package version in the new one. If you are using AdminStudio you can just go to the "Upgrades"-folder in the left view.
There you just add a "Major Upgrade" and the other two settings can be left as is. ("Products sharing the same upgrade code" and "Any earlyer version").
I dunno how you do it in Wise, but you can do directly in the Upgrade-table too.
I have experienced some problems with it myself if you change the version number after you have added the Upgrade. Then just delete and re-add the Upgrade.
Good luck!
/Jonas
Posted by:
justinSingh
17 years ago
Posted by:
justinSingh
17 years ago
Posted by:
jonasm
17 years ago
Hi there!
You can only upgrade a previous MSI-package, so you can not upgrade a .exe installation.
If you have opened a regular MSI-package in InstallShield, the Upgrade table is second from the end in the Direct Editor.
If you have done a repackaging yourself, and opens your project in InstallShield (at least in version 10.50) you should get a "folder" in the left menu saying "Media". There is some settings for Upgrades too.
I hope you get it to work!
/Jonas
You can only upgrade a previous MSI-package, so you can not upgrade a .exe installation.
If you have opened a regular MSI-package in InstallShield, the Upgrade table is second from the end in the Direct Editor.
If you have done a repackaging yourself, and opens your project in InstallShield (at least in version 10.50) you should get a "folder" in the left menu saying "Media". There is some settings for Upgrades too.
I hope you get it to work!
/Jonas
Posted by:
justinSingh
16 years ago
Posted by:
lovean11
13 years ago
Posted by:
pjgeutjens
13 years ago
If you open an MSI in Admin Studio you will not get the Upgrade tool on the left side. This tool is only available when working with ISM files (Installshield Projects)
You can still edit the Upgrade Table directly though using the Direct Editor (left side, bottom under Additional Tools). For info on how to fill in the rows have a look here
Rgds,
PJ
You can still edit the Upgrade Table directly though using the Direct Editor (left side, bottom under Additional Tools). For info on how to fill in the rows have a look here
Rgds,
PJ
Posted by:
cygan
13 years ago
Posted by:
anonymous_9363
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.