Jump to content

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


ixy
 Share

Recommended Posts

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!

Link to comment
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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...