Couldn't tell if this was resolved for sure...
anyway, I use the free version... but I was thinking that since most program's store the registration key in the registry you could prolly capture the registration info as its written to the registry and put it in a reg file using RegShot (etc). Then call the registration file through your script.. I've gotten a few stubborn apps to install silently this way without even needing AutoIt.
Here is an example that should work from any folder as long as it contains
the CMD file itself, the installer, and "registration.reg"
<edit> Just tried a similar script directly from cd (w/o copying files to HDD) and didn't work during ua install... but I think its just how I set up my scripts - i.e. using a reg file to enter license keys *should* still work
<edit 2> I think the reason it didn't work last time was I forgot to add (escaped) quote from RunOnceEx when adding the path to silent_install.cmd ie (should be "
\"%pathto%\silent_install.exe
\"" /f rather than "%pathto%\silent_install.exe" /f ) since I forgot to take the spaces outta my path...
: Sets "thisdir" to directory that .cmd is in
SET thisdir=%~d0%~p0
:Adding Registration Info to the Registry
IF EXIST "%thisdir%\registration.reg" (START /WAIT REGEDIT /S "%thisdir%\registration.reg")
: Installing Silently (using Free version for the example)
IF EXIST "%thisdir%zlsSetup_61_744_000_en.exe" (START /D"%thisdir%" /WAIT zlsSetup_61_744_000_en.exe /S /noreboot)
This post has been edited by spiritpyre: 10 March 2006 - 09:59 PM