Jump to content

RunOnceEx problems


Methanoid

Recommended Posts

I'm pretty much done with my Unattended DVD but I have a few niggles I cannot sort...

1) One of my installs brings us a configuration wizard but it doesnt like to be killed with Taskkill yet I can kill from Task Manager easy enough

REG ADD %KEY%\080 /VE /D "VideoReDo Plus" /f
REG ADD %KEY%\080 /V 1 /D "%cdrom%\SOFTWARE\VideoReDo\VideoRedoPlusSetup.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\080 /V 2 /D "cmd.exe /c taskkill /F /IM VrdInstallWizard1.exe" /f
REG ADD %KEY%\080 /V 3 /D "REGEDIT /S %CDROM%\Software\VideoReDo\MySettings.reg" /f

Taskkill works fine for another job... is there a switch I need to change perhaps?

2) I'm installing the FREE DVD-Rebuilder app using a MSI installer pre-packed called DVD Rb Easy. Simple switches gets the thing silently installed but bungs shortcuts on the Startbar in a directory called Bavaria Inc and then in a sub dir called DVD Rebuilder Easy 1.95 Final. I have since updated the exe to latest free Rb and want to have the proper shortcuts in a Startbar dir called DVD-Rb. I am also trying to delete the illegal copy of DRMP it installs :D and then install my own INI file etc, move the links and then remove the Bavaria from Startbar. Can't see what is going wrong here either!

REG ADD %KEY%\047 /VE /D "DVD Rebuilder 0.96" /f
REG ADD %KEY%\047 /V 1 /D "%cdrom%\SOFTWARE\DVD-Rb\DVD_Rebuilder_Easy_1.95.msi /qn" /f
REG ADD %KEY%\047 /V 2 /D "cmd.exe /c del /Y \"%ProgramFiles%\Bavaria Inc\DVD Rebuilder Easy\DvdReMake Pro.exe\"" /f
REG ADD %KEY%\047 /V 3 /D "cmd.exe /c del /Y \"%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Bavaria Inc\DVD Rebuilder Easy 1.95 Final\DVDreMake Pro 2.5.3.lnk\"" /f
REG ADD %KEY%\047 /V 4 /D "cmd.exe /c del /Y \"%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Bavaria Inc\DVD Rebuilder Easy 1.95 Final\Easy Help.lnk\"" /f
REG ADD %KEY%\047 /V 6 /D "cmd.exe /c copy /Y %cdrom%\SOFTWARE\DVD-Rb\Rebuilder.exe \"%ProgramFiles%\Bavaria Inc\DVD Rebuilder Easy\\"" /f
REG ADD %KEY%\047 /V 7 /D "cmd.exe /c copy /Y %cdrom%\SOFTWARE\DVD-Rb\Rebuilder.ini \"%ProgramFiles%\Bavaria Inc\DVD Rebuilder Easy\\"" /f
REG ADD %KEY%\047 /V 8 /D "cmd.exe /c md \"%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\DVD-Rb\"" /f
REG ADD %KEY%\047 /V A /D "cmd.exe /c move \"%systemdrive%\Administrator\Start Menu\Programs\Bavaria Inc\DVD Rebuilder Easy 1.95 Final\DVD Rebuilder Easy 1.95.lnk\" \"%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\DVD-Rb\"" /f
REG ADD %KEY%\047 /V B /D "cmd.exe /c ren \"%systemdrive%\Administrator\Start Menu\Programs\DVD-Rb\DVD Rebuilder Easy 1.95.lnk\" \"%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\DVD-Rb\DVD-Rebuilder\"" /f
REG ADD %KEY%\047 /V C /D "cmd.exe /c rd \"%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Bavaria Inc\DVD Rebuilder Easy 1.95 Final\"" /f
REG ADD %KEY%\047 /V D /D "cmd.exe /c rd \"%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Bavaria Inc\"" /f

Any help for someone whose eyeballs are going sore staring at this would be MUCH appreciated. Thanks!

Link to comment
Share on other sites


This is just a guess but i believe you have the quote wrong

Yours

REG ADD %KEY%\047 /V 2 /D "cmd.exe /c del /Y \"%ProgramFiles%\Bavaria Inc\DVD Rebuilder Easy\DvdReMake Pro.exe\"" /f

Try This Instead

REG ADD %KEY%\047 /V 2 /D "cmd.exe /c del /Y" "%ProgramFiles%\Bavaria Inc\DVD Rebuilder Easy\DvdReMake Pro.exe /f"

Link to comment
Share on other sites

GSM, thanks but your syntax IS wrong.. it barfs and doesnt get installed to registry... mine does... but doesnt do the required result!!!

BTW I fixed VideoReDo... had to put a START into the script to get the installer to open in a new window and then wait 5 seconds and then taskkill.. its a kludge but it does work...

Still having trouble though with fixing shortcuts/links

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...