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!

dotdkay
Posts: 2
Joined: Wed Mar 09, 2016 10:34 am

MSI transform, added files being overwritten?

Hi,
I'm trying to make a transform for an MSI installer. The MSI file is for Google Chrome. So in Advanced Installer I make a new transform, and select the MSI file from Google. The file with settings, like homepage and stuff like this is “master_preferences”, and for testing purpose I also added my own file: “ownfile.txt”.
The setting for “master_preferences” can be seen below:
Image

The problem is when I’m installing the MSI file with the transform file, the “master_preferences” gets overwritten by the original file included from the MSI file, and not with my version of the “master_preferences”, as you can see in the screenshot, my testing file: “ownfile.txt” is copied into the right directory however:
Image

Is there something I have overlooked? Or can I do something so the files I want to add are going to be added in the very end?
I hope someone can help with this.


Thanks in advance,
Casper
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSI transform, added files being overwritten?

Hi Casper and welcome to Advanced Installer forums,

Since you want to replace a file using a transform, the correct approach is to delete the existing file from the .MSI and add the new file with the same name. Then save the result as a transform.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dotdkay
Posts: 2
Joined: Wed Mar 09, 2016 10:34 am

Re: MSI transform, added files being overwritten?

Hi Dan, thanks :)
I tried to import the MSI file, to have a look at the structure, but every folder in "Files and Folders" are empty when I import the Google Chrome installer MSI file. When I tried other MSI files, they show the files and folders of the installer, but not with Chrome. Is there some script I can add to run in the end so I copy the files and overwrite?

Screenshot of the empty folders:
Image

Best Regards,
Casper

Return to “Building Installers”