/build/static/layout/Breadcrumb_cap_w.png

Active Set up

Hi All,
I am working on an application, where the update needs to be turned off.
This is the registry i get , if I manually turn off the updates after the app is installed[HKEY_CURRENT_USER\Software\App Name\Program]
"UpdateInterval"="0"

I tried to write a vbscript for it to turn off the update

const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set oReg=GetObject( _
"winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
strKeyPath = "Software\App Name\Program"
strValueName = "UpdateInterval"
oReg.SetDWORDValue _
HKEY_CURRENT_USER,strKeyPath,strValueName,0


Since it is getting registered in HKCU, I think a script for an active setup will work.
Can anyone please guide me with this active setup.

Any Advice is appreciatable

Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: shamu99 13 years ago
Fifth Degree Brown Belt
0
Can one application have 2 active setups, say for an example, you have an active setup in a MST, and the application is deployed. And now you need to turnoff the updates, which is in the HKCU, so can you write a script as above, will the same active setup work for this script also?

Please guide me
Thank You
Posted by: mayur_mak 13 years ago
Senior Purple Belt
-1
The answer to your first post lies at :

http://mayur-bantsblog.blogspot.com/2011/10/one-has-to-repackage-applications-that.html

The answer to your second question is that u can run the active setup for already exsisting package by creating a patch say MSP which updates the HKLM version part a higher value whic facilities a proper active setup function and hence will run the script

regards,
Mayur
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