chiners_68 Posted June 23, 2006 Posted June 23, 2006 Can you add these lines directo or what do I need to modify to get it to work in Auto it.SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\002 /V 1 /D "\"\\ebc-img-01\it$\Software\Other\Microsoft\Visual Studio\disk1\Visual Studio 2nd Script Install.au3\" /fIm automating & installation of an old software package that dosent silent install. unfortunatley it reboots acouple of times during the install so I need to point to another Autoit script after the reboot. how can I add the above from my cmd file into an autoit script..
ChrisL Posted June 23, 2006 Posted June 23, 2006 Does that work? RegWrite ("HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\RunOnce", "MyKeyName", "REG_SZ",'"\\ebc-img-01\it$\Software\Other\Microsoft\Visual Studio\disk1\Visual Studio 2nd Script Install.au3\" /f') Although isnt that just going to open the script rather than run it? [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
MHz Posted June 23, 2006 Posted June 23, 2006 Converted. Should be ok so long as open is set to run in the registry as the default Autoit Installer sets up. $Key='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx' RegWrite($Key & '\002', "1", 'REG_SZ', '"\\ebc-img-01\it$\Software\Other\Microsoft\Visual Studio\disk1\Visual Studio 2nd Script Install.au3"')
chiners_68 Posted June 23, 2006 Author Posted June 23, 2006 Ah, i will be compiling to an exe & running that so it should work fine.. cheers
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now