/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 16 years ago
Red Belt
0
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'.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ