/build/static/layout/Breadcrumb_cap_w.png

WPS: DLL registration

Hi,
I'm new to Wise and trying to repackage an app that registers some DLLs. After using SetupCapture, WPS populates the SelfReg table with these DLLs. If I change registration to ordered, it does it with custom actions.

How can I get WPS to capture the registration in the correct registry tables, rather than the legacy SelfReg table?

Thanks

0 Comments   [ + ] Show comments

Answers (9)

Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
2
Yup, once you've installed Wise (before your capture) goto Edit menu, Preferences and on the General tab uncheck Automatically add self-registration box

Or you can go it in the registry by changing value of EditorFlags from 0 to 4 - its in the HKEY_CURRENT_USER\Software\Wise Solutions\Windows Installer Editor\Settings key

Hope it helps,
Rob.
Posted by: meastaugh1 18 years ago
Senior Purple Belt
0
Thanks Rob,

Adding in that registry value works great. However, there doesn't seem to be that option in the user interface of WPS. Btw I've got Standard v6, if that makes any difference.

cheers
Mike
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
Glad it helped - my post was based on v5.x - haven't gotten my mitts on v6 yet [:@] Sure it's in there somewhere... if you find it, let me know [;)]

Pesky selfreg table.


Cheers,
Rob.
Posted by: meastaugh1 18 years ago
Senior Purple Belt
0
Found it. In InstallEditor, Tools>Options>Advertising tab>Automatically Add Self-registration.
Posted by: meastaugh1 18 years ago
Senior Purple Belt
0
One more question. As I understand it, selfreg should never be used. If this is the case, why does Wise use selfreg by default? Is this just a flaw in the design of Wise default behaviour?
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
Yes even MS recommend avoiding using selfreg table http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/selfreg_table.asp

Don't know why WPS is setup to use it by default - it's madness. Thanks for the info re v6 [:)]

Cheers,
Rob.
Posted by: timmsie 18 years ago
Fourth Degree Brown Belt
0
By setting the option that you detailed wise should be capturing the registering info and adding it to the tables. The files will not be set to self reg
Posted by: misk 18 years ago
Orange Senior Belt
0
i am not 100% sure but i have that option set and sometimes the wise pixies still manage to populate the selfreg table. i look at the components of the dlls in the selfreg table and check out if the advertising info is there, it seems to be...so i think that wise pointlessly populates the selfreg table.
any opinions?
Posted by: timmsie 18 years ago
Fourth Degree Brown Belt
0
my mistake, I obviously can't read[:@] If you have the "Automatically add self-registration" option selected on the General tab of the preferences menu then it will add self registration. You need to uncheck this box
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