We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

It helps when updating the product

Hello again,

I have an installer launched eg with version 1.0.1. When I released version 1.0.2 tells me that is already installed and you should uninstall the previous version before installing this version.

What I want is that when it launches a new complete package, not jump these things and make the upgrade process.
Attachments
windows installer.PNG
windows installer.PNG (63.45 KiB) Viewed 9928 times
rulesupgrade.PNG
rulesupgrade.PNG (18.39 KiB) Viewed 9928 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: It helps when updating the product

Hello,

Windows Installer can upgrade the original package only if the modified one has a higher version and a different Product Code.

Can you please make sure that a new ProductCode has been generated when the version has been increased? You can manually generate a new ProductCode in the Product IDs tab from the Product Information page.

You can also tale a look on the Why do I receive the "Another version of this product is already installed" message? article which may be useful to you.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: It helps when updating the product

Hello,

When I direct a new version asks me if I want to generate a new code and said no. Can it be that the reason?

I would always keep the same code in the product, except the version number. If you notice other higher version, proceed with upgrade.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: It helps when updating the product

Hello,
When I direct a new version asks me if I want to generate a new code and said no. Can it be that the reason?
Yes, this is the reason why you get that message prompt.

When increasing the product version, you should also generate a new ProductCode. Only if you want to make a patch, you don't have to generate a new ProductCode.

If you have other questions, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: It helps when updating the product

Hi Dan,
thanks for your reply.

1) Then, for each new version to launch I have to generate a new product code?

2) I have a product created in InstallShield and I wonder how I can make the installer detects the product code and if there proceed to uninstall the product, how would it be possible?

Thank You
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: It helps when updating the product

Hi,
1) Then, for each new version to launch I have to generate a new product code?
Yes, each new major upgrade must have a new ProductCode.
2) I have a product created in InstallShield and I wonder how I can make the installer detects the product code and if there proceed to uninstall the product, how would it be possible?
In order to achieve this, please follow the steps from the How do I upgrade an older version of the package? article.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: It helps when updating the product

Hi Dan,

Thanks for your reply. I am following the help but I can not understand at all what I have to do.

Would I could explain with some images to detect the code of a product and its uninstall procedure before installing the new version?

I remember that I have been using InstallShield previously and now advancedinstaller use is a thousand times better and faster. So there is no conflict then


Thank You
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: It helps when updating the product

Hi,

You need to copy the UpgradeCode (not ProductCode) of the old installation package in the Upgrades page. With this method the old package is uninstalled automatically and silently right before the new installation starts. You don't have to do anything else.

Can you detect the UpgradeCode of the old installation package?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: It helps when updating the product

Hi Dan,

I'm on the Upgrades tab, telling new uograde asks me an MSI package. I have to tell the old package old installer and nothing else?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: It helps when updating the product

Hi,

Yes, this is all you have to do. You can also send us a download link for the old installation package (build with InstallShield) to support at advancedinstaller dot com so I can have a better view about this.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: It helps when updating the product

Hi Dan,

I commented that it worked everything perfectly without any problems.

Furthermore, I would like to know if there is way to the quiet package that no window to the user or any type of alert not appear.

Thank You
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: It helps when updating the product

Hi,

To create a silent installation package, please follow the steps from the How do I create a silent installation package? article.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: It helps when updating the product

Hi Dan,

Thanks for your answers.

1) To run in stealth mode without interface with commands, you would run this way? example: MyInstall.exe / qn / quiet

2nd) Is there any way that before compile my installer, be silently default? Vi while in the program this way but I do not remember that part was, not if the installer parameters.



Thank You
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: It helps when updating the product

Hi,
1) To run in stealth mode without interface with commands, you would run this way? example: MyInstall.exe / qn / quiet
In the Command Line field from the Update Installer Tab of the Updates Configuration Projects you can pass parameters when installing the update. For example, using the /qn parameter for a MSI update will make it install silently, without any UI.
2nd) Is there any way that before compile my installer, be silently default? Vi while in the program this way but I do not remember that part was, not if the installer parameters.
I'm not sure I fully understand your scenario. Can you please give me more details, maybe exemplify?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: It helps when updating the product

Hi Dan,

I mean if there are ways that default package is silent without introduce any command to be silent.

Is there any maera?

Return to “Building Installers”