/build/static/layout/Breadcrumb_cap_w.png

Authoring an MSI without using Selfreg

Hi everyone,

We have an in house developed MSI which we've been asked to transform and deploy. It is compiled using WFWI - unfortunately it has 117 dlls / ocxs which are registered via the selfreg table... [:@]

Obviously I could remove the Selfreg entries, capture registration adding the data to the msi in the correct tables but I was hoping this can be done when the developer compiles the MSI to save us the hassle as we get new versions of this app fairly regularly.

I asked the package author to uncheck the "Automatically add self registration" box on the advertising tab under Wise Options leaving the advertising setting at "Scan advertising into both advertising tables and registry". Now the MSI has no entries in the Selfreg table and nearly 3000 in the registry table. Unfortunately the now app isn't working after install - regsvr32 all the dlls and it works. This writes an additional 8000+ reg keys / values which is obviously missing from the MSI.

I'm not clear on if / how you get the additional stuff into the MSI when it's compiled - tried setting the "Self-register keypath before compile" and "Rescan advertising information during compile" but this doesn't create any new info in registry, class, typelib, progid tables etc. Each dll / ocx is installed by it's own component with the appropriate dll / ocx as the keypath.

Any thoughts? Hope this makes sense..

Thanks,
Rob.

0 Comments   [ + ] Show comments

Answers (5)

Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
Thanks AngelD, good thinking!

Will try the Wise option - otherwise I'll just snap it all and add it in.

Regards,
Rob
Posted by: AngelD 18 years ago
Red Belt
0
Just make sure they unmark "Automatically add self-registration" and set the "Advertising Setting" to "Scan advertising information into advertising tables" instead of "Scan advertising into both advertising tables and registry" as it's unnecessary to add it to the registry too cluttering the package with duplicated registry information in my opinion.
Posted by: GB1 18 years ago
Orange Belt
0
Just out of curiosity, what is your gripe with the way it is currently configured?
Posted by: AngelD 18 years ago
Red Belt
0
I'm guessing that the developers of the application has it installed on their client already. Why not as it's already installed and the com-files are already registered drop them into the msi using wise and the advertising info should just be added by itself. It's only 117 files and they should know where it's located ;)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ