Need help with Instance IDs and product code transforms - Advanced Installer Community
egart
Posts: 4
Joined: Mon Mar 06, 2023 11:52 pm

Need help with Instance IDs and product code transforms

Hello,

I have an MSI file from a vendor that our company uses to install our primary software . I am needing to somehow get this application to be installed side by side with itself on the same machines ( one is for testing one is for production purposes).

In my research I have come across the use of Instance IDs and transforms, writing different product codes to the registry, etc...From what I can tell this is the best way to go about this project .

I just don't know where to go from here, as there is very little instructional on how to take an already built MSI and edit it so that it can call on different Instance IDs that correlate to different Product Codes writing to the registry . For example, being able to use a command such as: MSINEWINSTANCE=3 TRANSFORMS=:InstanceId2.mst in a batch file .

Thank you,
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Need help with Instance IDs and product code transforms

Hello,

I have replied to your other forum thread which seems to be related to this one.

using multiple instances

If you have further questions, please post them there.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
egart
Posts: 4
Joined: Mon Mar 06, 2023 11:52 pm

Re: Need help with Instance IDs and product code transforms

Hey Catalin,

I've followed the instructions but am still running into issues . I have created another instance under the multiple instance tab and just left it to be its default name of inst1 - it generated a unique product GUID associated with the instance ID . After this, I built an EXE file after the changes I made, and ran the command that was in the instructions . It launches the exe but I get the error that the product is already installed ....so this means that the instance isn't generated a new product code or maybe there are collisions in the registry?
egart
Posts: 4
Joined: Mon Mar 06, 2023 11:52 pm

Re: Need help with Instance IDs and product code transforms

I wish I could show you what I am seeing :( it is hard to explain this
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Need help with Instance IDs and product code transforms

Hello,

Sorry for the delayed reply on this.

Have you tried generating a new instance at install time using the command below?

setup.exe /newinst /instname <instance_name>

If you still encounter issues with this command, can you please forward to us your .AIP (setup project) file by email to support at advancedinstaller dot com, together with a test case which I can follow in order to reproduce the problem?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”