Jump to content

Post Install %CDROM% help


Recommended Posts

Hello there..I'm Using Hasi's Post Install Configuration Wizard...

I made an autorun menu to launch Post Install wizard to PC's already with windows

But my problem is that Post install can't resolve the DVD's drive letter..

The tests i made is that works only if DVD is in DRIVE D:...any help please?

I use this:

From menu i Launch start.cmd which calls WPI.HTA and in config.js i use

cmd1[pn]=['%cdrom%\\setup\\xp\\progr\\Office2k3pro\\SETUP.exe......

what's the difference with 'cdrom' and 'root' ???

THANKS

Link to comment
Share on other sites


You don't quite have the syntax for the line correct. it should be the following:

cmd1[pn]=['cdrom','setup\\xp\\progr\\Office2k3pro\\SETUP.exe......']

cmd1[pn]=['%cdrom%\\setup\\xp\\progr\\Office2k3pro\\SETUP.exe......

In your case, though, you should actually have the following:

cmd1[pn]=['root','setup\\xp\\progr\\Office2k3pro\\SETUP.exe......']
or:
cmd1[pn]=['cdrom','progr\\Office2k3pro\\SETUP.exe......']
(I think...)

The difference between 'cdrom' and 'root' is that 'cdrom' uses "HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\Sourcepath" as the CD root, and 'root' uses just the drive letter from that. These differ because it's an all in one disk.

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