Windows 10 Help with a .Bat File

  • Thread starter Thread starter RealStruggler
  • Start date Start date
R

RealStruggler

Guest
Hello Guys,

I am deploying a .Bat file to install - Toad and bunch of registry keys for Toad license.


The .bat file when run locally only add the registry keys, but when deployed using SCCM - it only installs the application - won't add the registry keys.


Can you please look at the below .bat file and let me know where i am going wrong:

msiexec.exe /i "ToadForOracle_13.1.1.5_x86_En.msi" INSTALLDIR="C:\Toad\" /q
reg add "HKCU\SOFTWARE\{08439167-4CA5-48E9-A810-A3A7C0B80B06}" /f
reg add "HKCU\Software\{08439167-4CA5-48E9-A810-A3A7C0B80B06}\Local" /f
reg add "HKCU\Software\{08439167-4CA5-48E9-A810-A3A7C0B80B06}\Local\EGRS8BGAZ14L" /f
reg add "HKCU\Software\{08439167-4CA5-48E9-A810-A3A7C0B80B06}\Local\EGRS8BGAZ14L" /v SiteMessage /t REG_SZ /d "XX CORP" /f
reg add "HKCU\Software\{08439167-4CA5-48E9-A810-A3A7C0B80B06}\Local\EGRS8BGAZ14L" /v ProductName /t REG_SZ /d "Toad for Oracle" /f
reg add "HKCU\Software\{08439167-4CA5-48E9-A810-A3A7C0B80B06}\Local\EGRS8BGAZ14L" /v ProductVersion /t REG_SZ /d 13.1.1 /f






Thank you very much




Regards, Prasad

More...
 
Back
Top