Jump to content

Fantomcd Workaround


A][A-PhoeniX

Recommended Posts

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 KEYS
WshShell.SendKeys "{ENTER}"
WScript.Sleep 2000
WshShell.SendKeys "{ENTER}"
WshShell.SendKeys "+A"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Sleep 2000
WshShell.SendKeys "{ENTER}"
WScript.Sleep 2000
WshShell.SendKeys "+c"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Sleep 2000
WshShell.SendKeys "{ENTER}"
WScript.Sleep 20000
WshShell.SendKeys "{ENTER}"

WScript.Quit

note* edit code as necessary ie. the path name

also 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" /f
REG ADD %KEY%\029 /V 1 /D "%PP%\FantomCD\fantomcd.vbs" /f
REG ADD %KEY%\029 /V 2 /D "REGEDIT /S %PP%\FantomCD\fantomcd.reg" /f

Of course edit it as necessary

License info should be placed in the fantomcd.reg file referenced in RunOnceEx

The 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


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...