Help - Search - Members - Calendar
Full Version: Clone CD Unattended
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
pachelbeljoe
Hello i tried a silent install of CloneCD with the following vbs-script and it still asks for a reboot. How should the script look like to tell him not to reboot. There is only a popup window with a yes and a no button. Is there anyone who can help?
Thanks

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Popup "Do NOT MOVE the mouse an do NOT PRESS any button!",5," - Warning - ",48
WshShell.Run ("%systemdrive%\install\clonecd\setupclonecd4317.exe /S")
WScript.Sleep 16000
WshShell.SendKeys "{TAB}"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Quit

welcome.gif
spachtler
ich versuch mal, ne .msi davon zu schreiben,
sag heut abend bescheid obs geklappt hat,
muß jetz erstma schaffe......

spachtler
XL-DJK
I don't mean to be rude, but... do you think you could refrain from using another language to explain a question/answer to another individual if your not willing to share it in English? newwink.gif
bombtrack
QUOTE (XL-DJK95355 @ Feb 12 2004, 11:40 AM)
I don't mean to be rude, but... do you think you could refrain from using another language to explain a question/answer to another individual if your not willing to share it in English? newwink.gif

in english:

i'm gonna try to make an msi package
tell you this evening if it worked
have to work now
magic_p
QUOTE (XL-DJK95355 @ Feb 12 2004, 11:40 AM)
I don't mean to be rude, but... do you think you could refrain from using another language to explain a question/answer to another individual if your not willing to share it in English? newwink.gif

http://babelfish.altavista.com/
spachtler
ok,

1 good news, 1 bad.......

the installation works without any dialog and dont restart.....
but the difference between my msi and the original installation:
if i click "dont restart" after the original inst, i can start clonecd.
if i try to start it after my own msi. install, it says:
couldnt load clonecd driver....... maybe some ini's and dll's
need special handling during installation? have tryed to solve
this since hours now and im very tired, trying it again tomorrow....
maybe someone had another idea? i try to create my msi with
"wise for windows installer 5.2 enterprise"... maybe this helps...

c ya, spachtler
pachelbeljoe
QUOTE (spachtler @ Feb 12 2004, 05:05 PM)
ok,

1 good news, 1 bad.......

the installation works without any dialog and dont restart.....
but the difference between my msi and the original installation:
if i click "dont restart" after the original inst, i can start clonecd.
if i try to start it after my own msi. install, it says:
couldnt load clonecd driver....... maybe some ini's and dll's
need special handling during installation? have tryed to solve
this since hours now and im very tired, trying it again tomorrow....
maybe someone had another idea? i try to create my msi with
"wise for windows installer 5.2 enterprise"... maybe this helps...

c ya, spachtler

Thanks for your help iīve given up on installing CloneCD. Iīll install it manualy when the system is installed.

pachelbeljoe welcome.gif
spachtler
hello again,

i have tryed another thing:
install the new 4.3.1.9 with an old
installshield from 3.1.1.0....
copy files is ok, asks too for restart,
but maybe to hide this with an installshield command is
easier than NSIS.... but i get an error if i start
the installed clonecd.exe. but: if i install and doubleclick
the source clonecd.exe, it starts......

so my result of all this is:
there must be a way to "activate" the clonecd-driver
"elbyCDIO".... thats all.... but how??????

spachtler
pachelbeljoe
QUOTE (spachtler @ Feb 13 2004, 10:59 AM)
hello again,

i have tryed another thing:
install the new 4.3.1.9 with an old
installshield from 3.1.1.0....
copy files is ok, asks too for restart,
but maybe to hide this with an installshield command is
easier than NSIS.... but i get an error if i start
the installed clonecd.exe. but: if i install and doubleclick
the source clonecd.exe, it starts......

so my result of all this is:
there must be a way to "activate" the clonecd-driver
"elbyCDIO".... thats all.... but how??????

spachtler

I tried so many things installing Clone CD silently and nothing worked. I belive this is a hard one. It always says, that it isnīt installed correctly and i donīt want to waste all my time with just one program thatīs not running. So i just copy it to the hard disk, put a link to the installer on my desktop and start installation after all the other work is done. Thatīs ok for ME. Itīs just three programs that donīt work (CloneCD, CloneDVD and AnyDVD). And i just install them after my unattended process id finished. Maybe a newer version of these programs will be able to silent install.
welcome.gif
pachelbeljoe
A little workaround for CloneCD. Iīm still not able to make it work with an unattended install but you can make the normal install a little easyer:

You can put the setup file for CloneCD into the $docs\All Users\Desktop folder and it will appear on the desktop when yor unattended windows is installed. And so you are able to install it directly from the desktop.

pachelbeljoe :flowers:
_Shorty
ok, I made a package using WinInstallLE from the link shown here http://unattended.msfn.org/xp/applications.htm and in the package's Install Modes tab I changed it from 'Install only per user' to 'Install only per machine' and upon the next boot I got a message from clonecd saying that the driver ElbyCDFL.sys wasn't installed/registered/something and asked me if I would like to install/register/something it and I clicked Yes. Then it said I would have to reboot before it would work. Rebooted again and it appears to be working, in so far as the app now appears to launch correctly in VirtualPC. I haven't had time to see if it is working correctly on a real machine, but I assume it would since it loads up and doesn't complain about anything. I'm going to try making packages with the other apps listed on that page and see if they make it more painless than WinInstallLE does. The install itself is unattended, it's just upon the next reboot that you have to interact with it. Getting there...
_Shorty
ok, I altered WinInstallLE's ignore list so that all of these keys would get copied. Some of their parents were being ignored by default.

CODE
[HKEY_CLASSES_ROOT\CLSID\{0E6C58A9-F592-4862-B35F-CA45E24003B3}]
[HKEY_CLASSES_ROOT\CLSID\{0E6C58A9-F592-4862-B35F-CA45E24003B3}\InProcServer32]
[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\CloneCD]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD\Devices]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD\Devices\Readers]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD\Devices\Readers\CntxCorp_C/DVD-ROM_HA0_ID0]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD\Devices\Readers\Generic_DVD-ROM_HA0_ID1]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD\Settings]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD\SystemSettings]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD\Update]
[HKEY_CURRENT_USER\Software\Elaborate Bytes\CloneCD\Version]
[HKEY_LOCAL_MACHINE\SOFTWARE\Elaborate Bytes]
[HKEY_LOCAL_MACHINE\SOFTWARE\Elaborate Bytes\CloneCD]
[HKEY_LOCAL_MACHINE\SOFTWARE\Elaborate Bytes\CloneCD\Key]
[HKEY_LOCAL_MACHINE\SOFTWARE\Elaborate Bytes\CloneCD\Settings]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CloneCD.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CloneCDTray.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ElbyCDFL]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ElbyCDIO]


and now the WinInstallLE MSI file installs ok and runs ok once everything's done. Two problems remaining, I think both will easily be solved. One, the shortcut in the start menu doesn't open the app, it opens an installer. Two, it didn't keep my serial, even though it's in that chunk of registry data. So, for the shortcut obviously I can just overwrite it with a good one. I'm a little stumped as to why my serial wasn't saved though. Time for some more pokin' around...
pachelbeljoe
Hey,

that sounds great so far. I wanted to give WinInstallLE a chance but had no time by now to do so. Would be very nice to get these apps to run. Especially AnyDVD would be nice too.

pachelbeljoe welcome.gif
pachelbeljoe
QUOTE (_Shorty @ Mar 7 2004, 12:35 PM)
and now the WinInstallLE MSI file installs ok and runs ok once everything's done. Two problems remaining, I think both will easily be solved. One, the shortcut in the start menu doesn't open the app, it opens an installer. Two, it didn't keep my serial, even though it's in that chunk of registry data. So, for the shortcut obviously I can just overwrite it with a good one. I'm a little stumped as to why my serial wasn't saved though. Time for some more pokin' around...

I have the same problem with the serial number. if i install it and put in the serial within the first run of the program it works fine an generates the registry entries. but when i try to import the registry entrys after install before first run, it ignores the registry entry and asks for the serial.
Stupid behavior but thatīs what i found out with cloneCD.

pachelbeljoe welcome.gif
_Shorty
I imagine it's keeping something somewhere else that says whether or not the serial has been entered, something in one of the things WinInstallLE is ignoring. Might not be too easy to find out what though, without perhaps making it ignore next to nothing and digging through what might be a mountain of output data. Took me a little while to find all the registry keys it needed just to get installed and running.
pachelbeljoe
QUOTE (_Shorty @ Mar 8 2004, 03:13 AM)
I imagine it's keeping something somewhere else that says whether or not the serial has been entered, something in one of the things WinInstallLE is ignoring. Might not be too easy to find out what though, without perhaps making it ignore next to nothing and digging through what might be a mountain of output data. Took me a little while to find all the registry keys it needed just to get installed and running.

welcome.gif Yes it can be a pain to find out these little things. And sometimes iīm giving up on that because it takes to much of my time. Hey there is a life outside of these computers and iīm giving it a visit sometimes. biggrin.gif
Maybe weīll find this little thing, or weīll just put in the serial manualy. No big problem i think cool.gif

pachelbeljoe
airmr
Hi,
just stumbled by...

This is my CloneCD.cmd File. It works perfectlyfor months now smile.gif
And i got this from somewhere....i think from a site pointed to from here.

ECHO Installing CloneCD
ECHO Please wait...
start /wait ..\clonecd\SetupCloneCD.exe /S
ECHO.
ECHO Killing clonecd.exe process
PSKill clonecd

PSKill is a tool from systernals.
pachelbeljoe
QUOTE (airmr @ Mar 8 2004, 05:38 AM)
Hi,
just stumbled by...

This is my CloneCD.cmd File. It works perfectlyfor months now  smile.gif
And i got this from somewhere....i think from a site pointed to from here.

ECHO Installing CloneCD
ECHO Please wait...
start /wait ..\clonecd\SetupCloneCD.exe /S
ECHO.
ECHO Killing clonecd.exe process
PSKill clonecd

PSKill is a tool from systernals.

Which version of CloneCD are you using? A version from Elby or a newer one from slysoft?

pachelbeljoe welcome.gif
airmr
4.0.1.0 cool.gif
_Shorty
well, with v4.202 when you do an install with /S this still is not completely silent. It installs the virtual clone drive, which I don't want installed, and even if I did you still have to hit OK to install the driver and then it asks you to reboot too. So, that's two user interactions, two too many. I am a little confused about why you're using the older version, care to share why? Newer than v4.202 is when the other company took it over if I'm not mistaken.
DarkBringer
I still use version 4.2.0.2, and the only reason is because it adds "Close Tray" to the right-click menu of the CD drive.

You can also modify the .vbs script to install silently and accept (or not) the virtual drive and not reboot.
ZoSTeR
Here's an AutoIt script and exe for closing the reboot dialog.
It actually waits for the dialog to appear which is more secure than sending keystrokes (might be faster too).

run:
CCDSilent.exe CloneCDSetup4322.exe

The /S switch is included.
hajj_3
ive sent the author olli a p.m with a link to this topic, i will let you know what he says if he dosent reply in here!
spachtler
man, this sounds good. if it works,
please could someone creat a silent-script for
anydvd and clonedvd too???
ZoSTeR
QUOTE
please could someone creat a silent-script for
anydvd and clonedvd too???


As you wish. See new topic.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.