A][A-PhoeniX Posted February 15, 2005 Share Posted February 15, 2005 I couldn't find this anywhere, so I made up my own solution. I decided to post this here to help anyone who might use FantomCD. I love FantomCD. It's a great tool for emulating cd drives. Anyways, the whole problem was that no matter what switches i used it would not silent install. So here is the workaround.Open a new text file in notepad and put the following code into it:Set WshShell = WScript.CreateObject("WScript.Shell")'=== FantomCD INSTALL === FILE === FantomCD.VBS ===WshShell.Run app & "%systemdrive%\install\FantomCD\enu_tr.msi"'=== wait in milli seconds (5 sec)WScript.Sleep 2000'=== PRESS SOME KEYSWshShell.SendKeys "{ENTER}"WScript.Sleep 2000WshShell.SendKeys "{ENTER}"WshShell.SendKeys "+A"WScript.Sleep 1000WshShell.SendKeys "{ENTER}"WScript.Sleep 2000WshShell.SendKeys "{ENTER}"WScript.Sleep 2000WshShell.SendKeys "+c"WScript.Sleep 1000WshShell.SendKeys "{ENTER}"WScript.Sleep 2000WshShell.SendKeys "{ENTER}"WScript.Sleep 20000WshShell.SendKeys "{ENTER}"WScript.Quitnote* edit code as necessary ie. the path namealso the last "WScript.Sleep" entry of 20000 should be long enough for the installation to complete so that the last "SendKeys {ENTER}" won't execute until it's finished. If you are using slower hardware please increase the "20000" to account for the time it will take to finish.Then rename the new txt file to "FantomCD.vbs"Then in RunOnceEx.cmd the code is this:REG ADD %KEY%\029 /VE /D "FantomCD" /fREG ADD %KEY%\029 /V 1 /D "%PP%\FantomCD\fantomcd.vbs" /fREG ADD %KEY%\029 /V 2 /D "REGEDIT /S %PP%\FantomCD\fantomcd.reg" /fOf course edit it as necessaryLicense info should be placed in the fantomcd.reg file referenced in RunOnceExThe following is an example fantomcd.reg file[HKEY_CURRENT_USER\Software\Copystar\Fantom CD\Register]"UserName"="user_name""Company"="none""SerailNo"="xxxxxxxxxxxxx" Link to comment Share on other sites More sharing options...
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