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!

antony.nolan
Posts: 4
Joined: Thu Feb 25, 2016 6:09 pm

Files Missing from Repackager Build

Good Morning,

I am trying to create my first EXE to MSI. The .EXE I have uses a web installer and does not have a silent install switch. I decided to use repackager on a Hyper-V VM, running repackager locally. Everything went smoothly and I was able to create a new professional project using my repackager output files.

I would now like to create an MSI build but when I try to build my file I receive the following errors:

C:\Users\Admin\Desktop\REPACK\System64Folder\catroot2\*GUID*\catbd
C:\Users\Admin\Desktop\REPACK\System64Folder\catroot2\*GUID*\catbd
C:\Users\Admin\Desktop\REPACK\System64Folder\config\SECURITY
C:\Users\Admin\Desktop\REPACK\System64Folder\config\DEFAULT
C:\Users\Admin\Desktop\REPACK\System64Folder\config\SECURITY
C:\Users\Admin\Desktop\REPACK\System64Folder\config\SOFTWARE
C:\Users\Admin\Desktop\REPACK\System64Folder\config\SYSTEM

Now catdb revolves around Windows update and I am not sure what the other entries mean. I assume these files were locked by the OS and did not move into the repackager output files which is expected. I would like to remove these files from my project. Is this supported and how do I go about removing them?

Regards,
Antony
antony.nolan
Posts: 4
Joined: Thu Feb 25, 2016 6:09 pm

Re: Files Missing from Repackager Build

Hello!

So I was simply able to delete the offending files with no issue.

I am still having a problem with my installation though and it seems to have to do with permissions. When I run my installation I select "RUN AS ADMINISTRATOR" but it changes my build to EXE from MSI in build configuration. When execute I receive a "error writing to file" message from the winsxs\Catalogs folder. I can skip this entry but I receive another security error soon after "C:Program Files (x86)\Common Files" that which makes the installation fail.

No matter what method I try I cannot seem to get my installation to install into these directories. I set verbose logging and I can see my permissions 'not' being allowed.

I have attached a shortened copy of my log file
Attachments
revisedlog.txt
(8.79 KiB) Downloaded 214 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Files Missing from Repackager Build

Hi Antony and welcome to Advanced Installer forums.

I apologize for the delayed reply.

I'm not sure why you encounter these problems. I looked over the log file that you sent, but it does not seem to be the full log there and I couldn't get any relevant information from it.

Can you test your package and reproduce the problem on multiple clean machines? If so, can you please send us a full verbose log of the installation to support at advancedinstaller dot com, so we can investigate it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
antony.nolan
Posts: 4
Joined: Thu Feb 25, 2016 6:09 pm

Re: Files Missing from Repackager Build

Thank you for your reply. I will use repackager again on an advanced install using Hyper-V and post my logs this morning.

thank you kindly.

antony
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Files Missing from Repackager Build

You're welcome Antony.

Just let me know if the problem persists.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
antony.nolan
Posts: 4
Joined: Thu Feb 25, 2016 6:09 pm

Re: Files Missing from Repackager Build

Sorry for the delay in responding. Attached are my full logs when receiving the error massage.
Attachments
MSIa2e7.zip
(153.8 KiB) Downloaded 210 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Files Missing from Repackager Build

Hi,

The error message you got appeared because the repackager captured during the monitoring phase assemblies installed by a VC++ redistributable from Microsoft.

No MSI can install under WinSxS folder, only the OS can write to that folder. This action happens when the OS registers assemblies.

For assemblies built by the vendor Advanced Installer automatically detects this and moves them back into Assemblies page in your project, but for
assemblies from third party redistributables we cannot provide an automatic solution.

What you must do is to delete the entire folder WinSxS from the project, in Files anf Folders page and instead add the redistributable for
those runtimes as a merge module, in the Merge Modules page.

To find exactly which version of the redistributable you need you can look in the .manifest file found next to the .cat file with a text editor.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”