Repackaging Problem... Please Help! - 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!

pheonixman27
Posts: 1
Joined: Fri Jun 27, 2008 4:56 pm

Repackaging Problem... Please Help!

Hi

I am trying to repackage some software and have run into a little trouble hope someone can help please.
I am new to packaging so please excuse me if my question's are a little dumb.
My package is an exe which looks like it was created using installshield, I am trying to repackage to an msi so it can be used for deployment, the recording process all runs through fine and the msi file is built. I install the msi but when I try and launch the application I get the following error "Could not start distributor services" Possible Cause: Program file missing or OLE Registration Problem Active X component can't create object".

I am guessing that some DLL or OCX file's are not being registered properly, can anyone please tell me how to check what files need registering and how?
Should Advanced Installer not be picking up this information in the registry if this is the case?


Thanks

pheonix :D
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Repackaging Problem... Please Help!

Hi Phoenix,

Please note 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.).

Therefore, if the original installation registers some files, only the effects of the registration will be captured. In order to create a fully functional installation package, you need to find out what files are registered and configure them accordingly.
can anyone please tell me how to check what files need registering and how?
I'm not sure if you can determine what files need to be registered (usually only the developer of the original package file has this information), but you can try using Process Monitor.
Should Advanced Installer not be picking up this information in the registry if this is the case?
If the file is registered by writing information into the registry, Advanced Installer should catch the registry entries. However, this depends a lot on the filters used by the Repackager. For example, by default the Repackager ignores registry entries under HKEY_CLASSES_ROOT, therefore the registration information may not be captured.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”