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!

SteveW
Posts: 6
Joined: Mon Nov 04, 2013 3:58 pm

Strange error when running a repackaged install

Hi guys

I've got another issue that I'm hoping someone can help me with.

I've tried using the repackager to create an MSI because the software I'd like to package doesn't have any silent install options on the setup.exe

I've created the msi as per the tutorial, but I get the following message when running the msi:-

"Could not access network location System64Folderwbem\Repository."

I'm a bit confused as I don't really know why it would be even looking for a network location, but it's probably something I've done wrong when I repackaged the software!

Any help greatly appreciated :)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Strange error when running a repackaged install

Hello,

This may happen if during "Paths Resolution" action group one of your installation folder is resolved to an invalid path (e.g. "System64Folderwbem\Repository"). So, you can search in your project (CTRL+F) for the related path ("System64Folderwbem\Repository") and see if there is any installation folder set to this invalid path. If so, you should edit it to use a valid resolved path at install time.

As a side note, please keep in mind that the import features in Advanced Installer (the Repackager, the Import MSI feature etc.) are intended to be used to get a starting point for your installation package, not to completely reproduce other installation packages. The Repackager tool captures only the effects of the installation (the changes made on the system). If the original installation package executes custom code (programs, scripts etc.) then only the effect will be captured (registry entries, files and folders etc.). Also, after repackaging an installation some adjustments may be necessary in order to obtain a working installation package.

Let us know if this helped, otherwise please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
SteveW
Posts: 6
Joined: Mon Nov 04, 2013 3:58 pm

Re: Strange error when running a repackaged install

Hi Daniel

That worked perfectly! I used the CTRL+F to find the path and it was the path for the Application Folder.

I've changed that now to be [Programfilesfolder][productname] and the install runs without error.

So, next I have to build "part 2" of this application and see if it installs correctly along with "part 1" on a clean machine.

Once again, thank you so much for your help - I was tearing my hair out not really knowing where to look!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Strange error when running a repackaged install

You're always welcome.

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

Return to “Building Installers”