Jump to content

simple ? about tokens


Gen.Alexander

Recommended Posts

ok i've got the tokens to install the user account

but all the programs install under the admin account

where do i but the tokens in so that they will install under my account?

   so you need to specify each time you want to use a token.
 -->
 <tokens>
 <token username="******" password="*****" />
 </tokens>
 <!--

 <item display="DVD Tools" image="#XPLODE#\images\nvidia.gif">
 <execute display="Divx v5.1" desc="Installs Divx" configs="CDRIVE000,CDRIVE001,CDRIVE002">
   <program>%cdrom%\Setup\preinstall\DIVX51BUNDLE.EXE</program>
   <arguments>-s</arguments>
 </execute>

Link to comment
Share on other sites


Add the attribute token="username" to the <execute> tag.

It'll work in anything under an <item> tag, so

<fileio-rmdir token="blah" ... >
<execute token="blah" ... >
<registry token="blah" ... >
<netstart token="blah" ... >

Will all run under the user "blah"s context.

Link to comment
Share on other sites

so it should look like this?

<item display="DVD Tools" image="#XPLODE#\images\nvidia.gif">
 <execute display="Divx v5.1" desc="Installs Divx" token="*****>
  <program>%cdrom%\Setup\preinstall\DIVX51BUNDLE.EXE</program>
  <arguments>-s</arguments>
 </execute>

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