
markb1.552490542246824E12 asked a question.
Failed to self-register DLLs in InstallScript project
Hi all,
I want to self-register dlls in InstallScript project by selecting checkbox at the IS Component View interface.
When I do it, the installation fails with a "critical failure" exception.
When I register them with:
XCopyFile( szFile, "", SELFREGISTER | SHAREDFILE | COMP_UPDATE_VERSION);
It registers most of them but still fails to register a couple.
And, finally, when I register with:
LaunchApplication( WINSYSDIR^"regsvr32.exe", "/s "+szFile, WINSYSDIR, ...);
It register them all without any error.
I can keep the latter solution as a workaround but I still want to use the built-in InstallShield self-register feature as a solution of choice.
:confused:
This will be a cleaner approach if you have large files.......
And this issue could be due to Windows + InstallScript combination as Windows treats InstallScript setups as aliens.....
worth a try!!