FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!

vbs to silent install acrobat writer professional




A vbscript do do a unattended install of acrobat writer professional software:

WshShell.Run "cacls ""c:\program files\common files\adobe\updater5"" /T /E /G Administrators:F Gebruikers:C", , True
WshShell.Run "msiexec /i """ & strPackagePath & "acropro.msi"" TRANSFORMS=""" & strPackagePath & "1043.mst"" /qn ALLUSERS=2 /Le ""c:\Documenten\acrostan_install.log""", , True
If Err.Number<>0 Then ErrorHandler "acropro.msi install problem" Else ErrorHandler "acropro.msi install ok" End If

WshShell.Run "cacls ""c:\program files\common files\adobe\updater5"" /T /E /G Administrators:F Gebruikers:C", , True
ErrorHandler "Starting AcrobatUpd810_euro_incr.msi install"
WshShell.Run "msiexec /update """ & strPackagePath & "AcrobatUpd810_euro_incr.msp"" /qn ALLUSERS=2 /Le ""c:\Documenten\acrostan_install.log""", , True
If Err.Number<>0 Then ErrorHandler "AcrobatUpd810_euro_incr.msi install problem" Else ErrorHandler "AcrobatUpd810_euro_incr.msi install ok" End If

WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\AdobeViewer"" /v EULA /t REG_DWORD /d 00000001 /f", , True
WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\AdobeViewer"" /v Launched /t REG_DWORD /d 00000001 /f", , True
WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\AdobeViewer"" /v Registered /t REG_DWORD /d 00000002 /f", , True
WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\Downtown"" /v bDontShowAtLaunch /t REG_DWORD /d 00000000 /f", , True

WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\Updater"" /v bShowAutoUpdateConfDialog /t REG_DWORD /d 00000000 /f", , True
WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\Updater"" /v bShowNotifDialog /t REG_DWORD /d 00000000 /f", , True
WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\Updater"" /v iUpdateFrequency /t REG_DWORD /d 00000000 /f", , True

WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\FeatureLockdown"" /v bUpdater /t REG_DWORD /d 00000000 /f", , True
WshShell.Run "reg add ""HKLM\SOFTWARE\Adobe\Adobe Acrobat\8.0\FeatureLockdown"" /v bShowAdsAllow /t REG_DWORD /d 00000000 /f", , True



0 blog comments below




FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.