Recompile PackageCode are different - 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!

yinqizhi
Posts: 3
Joined: Thu Jan 24, 2013 3:51 am

Recompile PackageCode are different

Hi,
The same version, recompile PackageCode are different, how to get the same PackageCode?
Thx
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Recompile PackageCode are different

Hi and welcome to Advanced Installer forum.

Thank you for your interest in Advanced Installer.

Please keep in mind that this is the normal behavior. Can you please tell us why do you need the same Package Code when you rebuild the package?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
yinqizhi
Posts: 3
Joined: Thu Jan 24, 2013 3:51 am

Re: Recompile PackageCode are different

hi Eusebiu,
Thank you for your reply
For example: New add some DLLs
Need to be re-packaged, previously installed, is not the same as an installation package, the installation prompts:
another version of this product is already installed.installtion of version cannot continue.to configure or remove the exiting version of this product, use Add / Remove Programs on the Control Panel.
Can not enter: Modify, Repair or Remove installation
PackageCode the same can be achieved
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Recompile PackageCode are different

Hi,

This happens when you rebuild the package with Advanced Installer and then try to launch the MSI package from the directory it was created. Windows Installer see that a package with the same Product Code and Product Version is already installed, but the Package Code is different and throws that error message.

To run the MSI after it was rebuilt, you can use the "Run" toolbar button from Advanced Installer. It will first uninstall the previous installed package and install the new one.

In your case, creating a new version of the product as explained in the Using The Auto Updater tutorial could be the right solution.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
yinqizhi
Posts: 3
Joined: Thu Jan 24, 2013 3:51 am

Re: Recompile PackageCode are different

Eusebiu wrote:Hi,

This happens when you rebuild the package with Advanced Installer and then try to launch the MSI package from the directory it was created. Windows Installer see that a package with the same Product Code and Product Version is already installed, but the Package Code is different and throws that error message.
Eusebiu
I want to rebuild the package is the same Package Code.

Manually installed, but still the same version, not the new version.
To enter the previously installed package uninstall interface.

How to get the same PackageCode?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Recompile PackageCode are different

Hello,

I'm afraid you cannot achieve this. Also, you can take a look on our "Change in different builts" thread which may be useful for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”