/build/static/layout/Breadcrumb_cap_w.png

Help! Script to lookin for something

Hi, I have a problem.
I must read registry to look for key: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Healthservice\Parametres\Managements Groups
This key have others subkeys about name Management Group for example FAKE, TEST etc. Subkey FAKE, TEST contains others subkeys too.

I need read this main subkey and if name management groups will be different than FAKE, script will be make this command:
msiExec.exe \i \\fileserver\MOM\momagent.msi /norestart /qn /l*v "c:\MOMReinstall.log" MANAGEMENT_GROUP="BUKA" MANAGEMENT_GROUP_OPERATION="RemoveConfigGroup" MANAGEMENT_Server="Cerberos" REINSTALL="all"

I will be very grateful for your help :)
Martha

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 13 years ago
Red Belt
0
Go to the JSWare site, where you'll find a class pack. In that pack is a registry class for VBScript. A function in that class enumerates a key and its sub-keys.

Why bother with script, though, when you can use AppSearch/RegLocator in a transform which you can apply to the MSI you have?
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