Repackager issue with MS install - 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!

brandon6976
Posts: 4
Joined: Fri Sep 28, 2007 1:35 pm

Repackager issue with MS install

Hey guys I saw your product and I am in need of a MSI package maker so I downloaded the trial and tried to repackage an exe install to MSI so I can deploy Via SMS/Group policy.

the app is a CRM Rollup2 patch. When I install normally it shows in the add/remove programs as shown below.
Image

However when I re-package it doesn't seem to show up. I've looked at everything I know and the only reason I think it could be not showing up is that some of the keys that gets written is below where it looks like its using my SID as a who installed type of thing.

Image

Is there a way to make this work because if I tell it to insert those keys into the package it errors and says the install doesn't have the rights to install (even when running as an admin).

Any help would be appreciated.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This is normal Windows Installer behavior. In order to accomplish what you need you must drag and drop the "Microsoft" key (with all of its subkeys) from HKEY_USERS\S-1-5-21-10106..\Software to HKEY_CURRENT_USER\Software.

Let me now if you encounter anymore problems.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
brandon6976
Posts: 4
Joined: Fri Sep 28, 2007 1:35 pm

hmm I checked and it actually is already there so I guess I don't need it with the sid.

However it still doesn't show the patch after making it in the MSI. Is there anything I should check?? I'm not sure where the add/remove programs pulls the info for those patches.

I'm pretty confident its not the info found at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall because this patch doesn't show up in there even after the normal Exe install.

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

Hi,

This cannot be done because this feature is built in Windows Installer.

A patch is a MSP file and is made by using two MSI files. When repackaging the installation of your patch, you will create a MSI installer. If that installer does not have the necessary registry keys for this feature after the repackaging process, you will not be able to add it manually.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
brandon6976
Posts: 4
Joined: Fri Sep 28, 2007 1:35 pm

hmm I'm not sure i follow so i've seen that its a msp file in the EXE file, I don't understand what you mean by saying I can't add the registry keys after ?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

The registry keys required for showing the patch in the Control Panel -> Add/Remove Programs are created automatically by Windows Installer. If those registry keys are not created by the repackage process then you cannot add them manually in the resulted Advanced Installer project.

This is standard Windows Installer behavior and those registry keys are created automatically when a patch project is created from scratch.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
brandon6976
Posts: 4
Joined: Fri Sep 28, 2007 1:35 pm

hmm so I can't really use this product to install the patch i guess ?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm not sure you can do what you need with any installation authoring tool. Patch projects are a bit more complex then a normal MSI project and Windows Installer does not allow the kind of operations you need.

If you have any other questions don't hesitate to ask.

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

Return to “Common Problems”