Sign in to follow this  
Followers 0
ixy

Adding .reg files to a package (& Hi!!)

5 posts in this topic

Hello!

Just found this great application and wanted to say hi to the community! I have a wee problem regarding automating removal of registry entries that I hope someone might be able to guide me in. I need to remove a bunch of registry keys plus the offending application froma few computers. The app removal I think I can deal with but merging the registry file in with the existing one I am less confident about. Could someone recommend an effective way to do this please?

Here's what I have:

DirCreate ("c:\Visionew")

If FileExists("C:\Program Files\\uninst.exe") Then

Run("C:\Program Files\Visio Veiwer\uninst.exe")

EndIf

FileInstall("c:\Visionew\test1.reg")

Sleep(1)

shutdown -r -t 20 -c "Rebooting computer"

Appreciate any help!

Share this post


Link to post
Share on other sites



welcome! =)

check out regdelete in the help file

regdelete("\\" & $computer_name & "\hklm...)

Share this post


Link to post
Share on other sites

welcome! =)

check out regdelete in the help file

regdelete("\\" & $computer_name & "\hklm...)

Thanks Gcue, I'll have a look.

Share this post


Link to post
Share on other sites

2 other solutions that you might be interested in if you already have a .reg file for this...

ShellExecute("regedit.exe","/s SomeRegfileHere.reg",@ScriptDir)

or...

http://www.autoitscript.com/forum/index.php?showtopic=7771

(converts .reg files to AutoIt code)


_________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell

Share this post


Link to post
Share on other sites

2 other solutions that you might be interested in if you already have a .reg file for this...

ShellExecute("regedit.exe","/s SomeRegfileHere.reg",@ScriptDir)

or...

http://www.autoitscript.com/forum/index.php?showtopic=7771

(converts .reg files to AutoIt code)

Thanks Nerdfencer, I'll try these also!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0