Adding a registry file problem
I am using installshield 2008 basic msi.
I basically have a service which depends on another service and this service only exists on Vista.
I thought I would use the reg.exe to create the registry file, for dependencies, this works perfectly when I run from command line manually, but in installshield it just doesn't do anything no errors nothing.
My custom action is new EXE > Path refering to a directory
Working dir: WindowsFolder
Filename and commandline: add HKLM\system\currentcontrolset\services\myservice /v DependsOnService /t REG_MULTI_SZ /d WinHTTPAutoProxySvc\0 "[SystemFolder]reg.exe"
Return Processing: Synchronous (Ignores exit code)
In-script Execution: Deferred Execution in System Context
Install Exec Sequence: After InstallFiles
Install Exec Condition: Not Installed.
Any better ways to do this or get the reg.exe to create the registry?
Thanks in advance
I basically have a service which depends on another service and this service only exists on Vista.
I thought I would use the reg.exe to create the registry file, for dependencies, this works perfectly when I run from command line manually, but in installshield it just doesn't do anything no errors nothing.
My custom action is new EXE > Path refering to a directory
Working dir: WindowsFolder
Filename and commandline: add HKLM\system\currentcontrolset\services\myservice /v DependsOnService /t REG_MULTI_SZ /d WinHTTPAutoProxySvc\0 "[SystemFolder]reg.exe"
Return Processing: Synchronous (Ignores exit code)
In-script Execution: Deferred Execution in System Context
Install Exec Sequence: After InstallFiles
Install Exec Condition: Not Installed.
Any better ways to do this or get the reg.exe to create the registry?
Thanks in advance
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
Wow! You sure like to make this more complicated than they need to be, don't you? :)
The simplest route for you is to import the .REG you have already directly into your IS project.Either that, or edit the Registry table directly.
PS
You have posted in the wrong forum. This really belongs in 'Package Development'.
The simplest route for you is to import the .REG you have already directly into your IS project.Either that, or edit the Registry table directly.
PS
You have posted in the wrong forum. This really belongs in 'Package Development'.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.