Jump to content

IT Troll

Member
  • Posts

    5
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by IT Troll

  1. OK I am now using the following to return the file associations back to Media Player after installing ShowTime: If $RFA = 1 Then RegWrite ( "HKCR\.aif", "", "REG_SZ", "AIFFFile" ) RegWrite ( "HKCR\.aifc", "", "REG_SZ", "AIFFFile" ) RegWrite ( "HKCR\.aiff", "", "REG_SZ", "AIFFFile" ) RegWrite ( "HKCR\.avi", "", "REG_SZ", "avifile" ) RegWrite ( "HKCR\.m1v", "", "REG_SZ", "mpegfile" ) RegWrite ( "HKCR\.m3u", "", "REG_SZ", "m3ufile" ) RegWrite ( "HKCR\.mid", "", "REG_SZ", "midfile" ) RegWrite ( "HKCR\.midi", "", "REG_SZ", "midfile" ) RegWrite ( "HKCR\.mp2", "", "REG_SZ", "mpegfile" ) RegWrite ( "HKCR\.mp3", "", "REG_SZ", "mp3file" ) RegWrite ( "HKCR\.mpa", "", "REG_SZ", "mpegfile" ) RegWrite ( "HKCR\.mpeg", "", "REG_SZ", "mpegfile" ) RegWrite ( "HKCR\.mpg", "", "REG_SZ", "mpegfile" ) RegWrite ( "HKCR\.rmi", "", "REG_SZ", "midfile" ) RegWrite ( "HKCR\.wav", "", "REG_SZ", "soundrec" ) RegWrite ( "HKCR\.wma", "", "REG_SZ", "WMAFile" ) RegWrite ( "HKCR\.wmv", "", "REG_SZ", "WMVFile" ) EndIf I have also extracted the main setup executable so this doesn't have to be done during the install. This makes the process much faster, means that the Ask Toolbar installer can be deleted completely and hopefully the DirectX update issue will be avoided. My final script is now quite different to CEoCEo's, but many thanks for introducing me to the wonderful world of AutoIt and setting me off in the right direction.
  2. It did try that method but the script didn't wait for the process to finish and moved straight onto the next uninstall. This then popped a Nero error that an instance of the uninstaller was already running. With regards to the ShowTime file associations I am thinking of using RegWrites to set them back to Media Player. Is that a good idea / my only option?
  3. OK I think I now have the uninstalls working with the following: If FileExists ( @ProgramFilesDir & "\Ahead\Nero\Uninstall\UNNero.exe" ) Then Run ( @ProgramFilesDir & "\Ahead\Nero\Uninstall\UNNero.exe" & " /UNINSTALL /SILENT /NO_UI /NOREBOOT" ) ProcessWaitClose ( "UNNero.exe" ) EndIf If FileExists ( @WindowsDir & "\UNNeroBurnRights.exe" ) Then Run ( @WindowsDir & "\UNNeroBurnRights.exe" & " /UNINSTALL /SILENT /NO_UI /NOREBOOT" ) ProcessWaitClose ( "UNNeroBurnRights.exe" ) EndIf If FileExists ( @WindowsDir & "\UNNeroVision.exe" ) Then Run ( @WindowsDir & "\UNNeroVision.exe" & " /UNINSTALL /SILENT /NO_UI /NOREBOOT" ) ProcessWaitClose ( "UNNeroVision.exe" ) EndIf Has anyone got any ideas on the ShowTime file associations?
  4. Thanks for the pointers. The ProductSetup shortcut delete is working great and I have added the following to run BurnRights: If $RBR = 1 Then RunWait ( @ProgramFilesDir & "\Nero\Nero 7\Nero Toolkit\NeroBurnRights.exe" & " /all" ) EndIf Is there a way to install ShowTime but control which file associations it takes? I need ShowTime for DVD playback but I don't want it to steal all the other Media Player types. Gonna work on the uninstalls now...
  5. Hi, I'm brand new to AutoIT so please be gentle with me. I am looking for a solution for a Nero 7 upgrade roll-out and came across this thread. The script looks great but I need to do a few extra things, are these possible? Silently uninstall Nero 6.x.x.x if it is installed (without reboot) Silently uninstall NeroVision Express 3.x.x.x if it is installed (without reboot) Prevent ProductSetup being installed or delete the shortcut Run BurnRights at the end
×
×
  • Create New...