How to make a setup for beta versions? - Advanced Installer Community

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!

AI_User
Posts: 3
Joined: Wed Oct 06, 2010 12:49 pm

How to make a setup for beta versions?

Hello,
I am using AI 7.7.
The settings:
Product Details:
Register product with Windows Installer
Override Windows Installer programs list entry
Upgrades:
Automatically upgrade older product versions
Use original installation path when upgrading
Uninstall old version first and then install new version
Media/Media:
Archive installation files into CAB files
Compress CAB files for smaller size
One CAB archive containing all the installation files
Media/Bootstrapper:
Create EXE setup file
Include install files in EXE
Included in EXE bootstrapper
The problem:
How can I handle the installation of beta versions of my .net program?
I have no problems when I create and run a setup if I have changed the Product Version. When I install a newer version, the older version will be first uninstalled automatically. The installed program will be erased, when I start an uninstallation manually from Windows or the setup file.
But I want to create a Setup for a beta version, too. Then the product version is unchanged or I use the 4th index. There is no new product code created when I create a new build. No installation possible. First I have to uninstall the installed older version.
So I changed the product code with Project/Options/Project IDs/Generate All. When I start to update the already installed version with this beta version, the new version will be installed but the old version has not been uninstalled.
Additionally when I want to uninstall the mixed two versions, no file will be deleted and the entry in the Windows software list is still there. When I want to uninstall it again, there will come an error message: It is only possible to uninstall a program which has been installed earlier. (translated)
My question:
How to do an installation of beta versions with correct deinstallation before and complete deinstallation at the end?
Thank you for your help.
Best regards,
AI_User
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: How to make a setup for beta versions?

Hi,
How to do an installation of beta versions with correct deinstallation before
This is very easy, simply go to Upgrades page and add the MSI packages you want to be uninstalled to the list using the [New] button.
and complete deinstallation at the end?
The uninstall process should work as usual, simply run the package again to enter maintenance and choose remove, or remove it from Control Panel.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AI_User
Posts: 3
Joined: Wed Oct 06, 2010 12:49 pm

Re: How to make a setup for beta versions?

Hello Bogdan,
thank you very much for your help.
Best regards,
AI_User
AI_User
Posts: 3
Joined: Wed Oct 06, 2010 12:49 pm

Re: How to make a setup for beta versions?

Hello Bogdan,
I have tested now your answer with a MSI file created with MS Visual Studio.net. I have determined the upgrade code and added this to "Upgrades". The product version of the MSI file is 1.0.0 and I have added this to "Versions To Upgrade": Min Version: 1.0.0 and Include minimum version in range.
But when I run the actual AI setup the old version 1.0.0 resides untouched. Does it work only with AI setups?
Best regards,
AI_User
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: How to make a setup for beta versions?

Hi,
Does it work only with AI setups?
No, it can be used and for Windows Installer packages built with other tools.

Can you please send me the aip file and the verbose log created while installing the latest version so I can analyze them?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”