Summary
A look at why some files don't self register or unregisterSynopsis
On occasion some files don?t register and during install an error appears that says:
?The following files did not self-register or unregister.?
Discussion
On Windows Vista and Windows 7 the operating system has much more control over protected keys. Regsvr32 and msiexec are shimmed by the operating system and allowed to write to protected keys. Our InstallScript engine is not shimmed by the operating system. Because of that you can?t use the InstallScript engine to register files that need to write to protected keys .
To workaround this limitation use Regsvr32 in your script to register the files that fail. The function LaunchApplication allows applications to be launched. One of the options of LaunchApplication function is LAAW_OPTION_USE_SHELLEXECUTE. This option allows elevation which is needed to register a file.
LaunchApplication
LAAW_OPTION_USE_SHELLEXECUTE
Related Articles
7 Reasons Why your Installations May Fail on Windows Vista (And How You Can Fix Them) 3Number of Views Specifying the Required Execution Level for Your Setup Launcher on Windows Vista and Later 3Number of Views Windows Installer 4.5 Prerequisite Installation Issue on Windows Vista Systems 3Number of Views Custom Action Can Fail on Windows Vista If ALLUSERS Is Not Set 3Number of Views InstallShield Prerequisites for .NET Framework 3.5 SP1 on Windows 7 and Later, Windows Server 2008 R2 and Later 6Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago