This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: DLL registration with IS 2011
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jan 18, 2011
02:56 AM
DLL registration with IS 2011
Hi,
We have migrated project to IS 2011 from IS 12.
Here we are using Kernel32.CreateProcess(NULL, szCmdLine, NULL, NULL, FALSE, 16, NULL, NULL, &StartupInfo, &ProcessInfo) for DLL registration.
CmdLine="C:\SINDOWS\System32\regsrv32.exe"/s"C:\WINDOW\system32\msxml3.dll"
After migration this CreateProcess() function is stopped working. is there any alternative for this?
We have migrated project to IS 2011 from IS 12.
Here we are using Kernel32.CreateProcess(NULL, szCmdLine, NULL, NULL, FALSE, 16, NULL, NULL, &StartupInfo, &ProcessInfo) for DLL registration.
CmdLine="C:\SINDOWS\System32\regsrv32.exe"/s"C:\WINDOW\system32\msxml3.dll"
After migration this CreateProcess() function is stopped working. is there any alternative for this?
(3) Replies
‎Jan 18, 2011
03:54 AM
hi repal.rahul
Is this an InstallScript project or a basic MSI?
I am not so sure if this is possible in InstallScript, but in a standard MSI you can right click on any file select properties and mark the checkbox "Self Register".
A better way is to extract the COM data from your dll by adding files with the component wizard or by right clicking the file directly and selecting "Extract Com Information"
Another way is to always re-extract COM data at build time.
I hope this helps
Walter
Is this an InstallScript project or a basic MSI?
I am not so sure if this is possible in InstallScript, but in a standard MSI you can right click on any file select properties and mark the checkbox "Self Register".
A better way is to extract the COM data from your dll by adding files with the component wizard or by right clicking the file directly and selecting "Extract Com Information"
Another way is to always re-extract COM data at build time.
I hope this helps
Walter
‎Jan 18, 2011
07:16 AM
Hi Kevin.Wan,
Thanks for the reply but will this work for Vista & window 7 also?
Beacuse LaunchAppAndWait() function internally will call CreateProcess() that will fail with Vista & window7.
Rahul.
Thanks for the reply but will this work for Vista & window 7 also?
Beacuse LaunchAppAndWait() function internally will call CreateProcess() that will fail with Vista & window7.
Rahul.