WotC, on May 2 2005, 07:15 AM, said:
I tired the script using wpi and it works. i just compiled the script using au3_2_exe or however this is called. maybe u should change the winwaitactive command to winwait? or maybe just start the autoItSpy and check how the cancel button is called? maybe u have another version than i have :-). if there is still need in the evening, i can send u the exe - just dont have it handy right now!
<{POST_SNAPBACK}>
thanks for the reply i'll try the install again with the following:
My runonceex file:
REG ADD %KEY%\026 /VE /D "Adobe Photoshop CS 2" /f
REG ADD %KEY%\026 /V 1 /D "%systemdrive%\install\applications\adobephotoshop\setup\script.exe" /f
REG ADD %KEY%\026 /V 2 /D "%systemdrive%\install\applications\adobephotoshop\setup\bridge\bridge.msi /qb" /f
REG ADD %KEY%\026 /V 3 /D "%systemdrive%\install\applications\adobephotoshop\setup\helpcenter\hc.msi /qb" /f
REG ADD %KEY%\026 /V 4 /D "%systemdrive%\install\applications\adobephotoshop\setup\commonfilesinstaller\cf.msi /qb" /f
the autoit script converted from .au3 to .exe (with some extra features as suggested):
Run("setup.exe /v/qb")
;Activation
WinWait ( "Adobe Photoshop Installer","" )
ControlFocus ( "Adobe Photoshop Installer", "", "Button6" )
ControlClick ( "Adobe Photoshop Installer", "", "Button6" )
;Activation2
Sleep ( 250 )
WinWaitActive ( "Adobe Activation","" )
ControlClick ( "Adobe Activation", "", "Button1" )
Exit