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: CreateProcess doesn't work with IS2011
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 06, 2011
05:15 AM
CreateProcess doesn't work with IS2011
Hi,
We have migreted project to Install shield 2011 from Install shield 12.
We observed that with install shield 2011 below function fails,
Kernel32.CreateProcess(NULL, szCmdLine, NULL, NULL, FALSE, 16, NULL, NULL, &StartupInfo, &ProcessInfo)
szCmdLine = "C:\Documents and Settings\Rahul\Desktop\redist\dotnetfx2.0.exe"/q:a /c:"install.exe/qb"
This is existing working function of install shield 12.
This function is written in setup.rul(script file) called by install shield.
Does any body know about this, why Kernel32.CreateProcess() is not working with Install shield 2011. is there any problem with szCmdLine?
--------------------------------------------------------------------------------
We have migreted project to Install shield 2011 from Install shield 12.
We observed that with install shield 2011 below function fails,
Kernel32.CreateProcess(NULL, szCmdLine, NULL, NULL, FALSE, 16, NULL, NULL, &StartupInfo, &ProcessInfo)
szCmdLine = "C:\Documents and Settings\Rahul\Desktop\redist\dotnetfx2.0.exe"/q:a /c:"install.exe/qb"
This is existing working function of install shield 12.
This function is written in setup.rul(script file) called by install shield.
Does any body know about this, why Kernel32.CreateProcess() is not working with Install shield 2011. is there any problem with szCmdLine?
--------------------------------------------------------------------------------
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2011
03:39 AM
You can use LaunchApplication() instead which now has many more options, including a switch to use CreateProcess or ShellExecute
Stefan Krueger
InstallSite.org
InstallSite.org
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2011
09:40 PM
Hi,
Installscript supports Unicode now. And hence, there are some changes to the datatypes. Please refer to this article for further help -> http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/whats_newIS2011.htm.
Thanks!
Installscript supports Unicode now. And hence, there are some changes to the datatypes. Please refer to this article for further help -> http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/whats_newIS2011.htm.
Thanks!