Jump to content

tonymoir

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by tonymoir

  1. TimH, thanks you saved me a lot of time, the --record=1 worked a treat. I am deploying by group policy, the install only works when run as a logged on user, they are idiots at Adobe, because they are using environment variables not available at startup. So I use a startup script that looks like this: C:\WINNT\system32\REG.EXE QUERY HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{60B28ECA-78BC-4D18-AB63-4A9A93BF881D} IF ERRORLEVEL==1 GOTO Logon IF ERRORLEVEL==0 GOTO END :Logon TITLE Add local install account C:\Winnt\System32\NET.EXE LOCALGROUP Administrators domain\user /ADD TITLE Set Auto Logon c:\winnt\system32\REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DisableCAD /D 1 /T REG_DWORD /F c:\winnt\system32\REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V ForceAutoLogon /D 1 /F c:\winnt\system32\REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V AutoAdminLogon /D 1 /F c:\winnt\system32\REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DefaultDomainName /D Domain /F c:\winnt\system32\REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DefaultUserName /D user /F c:\winnt\system32\REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DefaultPassword /D password /F ECHO AutoLogonSet >C:\Winnt\AutoLogonSet.txt C:\WINNT\system32\REG.EXE ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /V "AdobeCreativeSuite3DesignStandardVL" /D "\\server\AdobeCreativeSuite3MasterCollectionVL\InstallAdobeCreativeSuite3MasterCollectionVL.cmd" /F C:\Winnt\System32\SHUTDOWN.EXE /r /t 02 GOTO END :END The install script called InstallAdobeCreativeSuite3MasterCollectionVL.cmd looks like this: C:\WINNT\system32\REG.EXE QUERY HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{60B28ECA-78BC-4D18-AB63-4A9A93BF881D} IF ERRORLEVEL==1 GOTO Install IF ERRORLEVEL==0 GOTO END :Install TITLE Install AdobeCreativeSuite3MasterCollectionVL \\server\AdobeCreativeSuite3MasterCollectionVL\setup.exe --mode=silent --deploymentFile="\\server\AdobeCreativeSuite3MasterCollectionVL\deployment\custominstall.xml" TITLE Remove local install account C:\Winnt\System32\NET.EXE LOCALGROUP Administrators domain\user /DELETE C:\WINNT\system32\REG.EXE DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /V "AdobeCreativeSuite3MasterCollectionVL" /F TITLE Remove Auto Logon c:\winnt\system32\REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DisableCAD /D 0 /T REG_DWORD /F C:\WINNT\system32\REG.exe DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V ForceAutoLogon /F C:\WINNT\system32\REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V AutoAdminLogon /D 0 /F C:\WINNT\system32\REG.exe DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DefaultPassword /F c:\winnt\system32\REG.exe DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DefaultDomainName /F c:\winnt\system32\REG.exe DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DefaultUserName /F :Restart C:\Winnt\System32\SHUTDOWN.EXE /r /t 02 :END This works on hundreds of desktops in labs, it is not suitable for use staff desktops of laptops due to the autologon required. Tony
×
×
  • Create New...