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!

pluto
Posts: 10
Joined: Sun Jul 06, 2008 9:25 am

Change producto code to install multiple instances

Hello,

How i change the product code to install multiple instances of a solution? Windwos installer only permit one instance per context and product code.

I cant view where is the product code.

Thansk in advanced
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Change producto code to install multiple instances

Hi,

The Product Code is changed automatically by Advanced Installer only if you increase the version of the package. However, you can manually change it by editing the AIP with a text editor:
- close Advanced Installer
- find the .AIP file of your project
- open it in a text editor
- find the ProductCode property
- replace the existing GUID with a custom one
- save and close the .AIP file

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pluto
Posts: 10
Joined: Sun Jul 06, 2008 9:25 am

Re: Change producto code to install multiple instances

Hello,

Thanks for the reply, but I need change the product code dinamically to install isolated instances of a solution. Other way to resolve this?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Change producto code to install multiple instances

Hi,

Please note that Windows Installer doesn't support installing multiple instances of the same package on the same machine. Therefore, I'm not sure if what you need can be done.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pluto
Posts: 10
Joined: Sun Jul 06, 2008 9:25 am

Re: Change producto code to install multiple instances

Hello,

Yes, I,ve note this. But if you could change the product code, windows installer make a fresh install without repairing options.
Advanced installer dont have a property with the product code and cant change it dinamically, only change the versión force to create a new product code.

During installation, is posible generate or change the product code to force windows installer to install a fresh copy of solution?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Change producto code to install multiple instances

Hi,

After the package is built, the only way of changing the Product Code is by editing the MSI (for example with Orca). Therefore, I'm not sure if it can be changed dynamically. Also, There is a property called ProductCode, but it cannot be changed dynamically.

By "doesn't support" I meant that it cannot be done. The only solution would be to create different packages manually.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pluto
Posts: 10
Joined: Sun Jul 06, 2008 9:25 am

Re: Change producto code to install multiple instances

Sorry, I,ve found a "productCode" property in advanced installer. Can I change it in a custom action during installation, and windows installer will support this workaround?
Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Change producto code to install multiple instances

Hi,

I'm afraid that this is not supported by Windows Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pluto
Posts: 10
Joined: Sun Jul 06, 2008 9:25 am

Re: Change producto code to install multiple instances

Thanks Cosmin.

Best Regards

Return to “Feature Requests”