Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
gbmolina

launching WPI after installation complete?

Recommended Posts

hi, this is probably a stupid question, but I didn't find the answer on the documentation or the FAQ.

ok, I'm doing an unattended install with nLite, I put the WPI folder in the CD root directory and..than what? how do I call WPI and have it open after the installation is complete? do I have to use the runonce options in nLite? if so, can anyone give me a sample command line please?

I'm sorry for asking this, it's probably a stupid thing, but in the documentation there is no word on how to launch WPI and I can't quite imagine how to to it... :huh:

thanks

Share this post


Link to post
Share on other sites

From Runonceex as in documentation below

cmdow @ /HID
@ECHO OFF

for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\wpi

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY%\999 /V 1 /D "%wpipath%\WPI.hta" /f

EXIT

Share this post


Link to post
Share on other sites

hi, 10x for the reply. did I understand correctly that this code is to be placed in a .bat file in the root of the installation CD and called by the runonce in the last menu of nLite? or this has to be saved as a .reg file and than imported into the registry? how exactly?

if so, what is the line that has to be putted in the runonce command?

thanks again

Share this post


Link to post
Share on other sites

Just like it says in the FIRST post of the release thread and in the manual just extract the $oem$ folder to the root of your cd.

Edited by Kelsenellenelvian

Share this post


Link to post
Share on other sites

I'm sorry for asking the same thing again, but I can't quite figure it out: once I have the correct .cmd file that will launch wpi.hta after completing the unattended nLited installation (thanks to mavericks choice), where do I put it before I burn the CD? in the root directory? or in the $OEM$ folder? if so, how do I call it from the runonce dialog in nLite? just by typing whatever.cmd? my WPI folder the all apps to be installed is in the root dir of the CD...

I'm sorry for asking basically the same thing again, but I can tell you guys I spent the whole weekend reading and I couldn't figure it out, all guides here assume you know that stuff... :blushing:

thanks

Share this post


Link to post
Share on other sites

On my setup, the cmdlines.txt and the RunWPI.cmd both sit inside the $oem$ folder. cmdlines is what calls the RunWPI.

Edited by gospeed

Share this post


Link to post
Share on other sites
On my setup, the cmdlines.txt and the RunWPI.cmd both sit inside the $oem$ folder. cmdlines is what calls the RunWPI.

wpi can also be called from your winnt.sif file

Share this post


Link to post
Share on other sites

On my setup, the cmdlines.txt and the RunWPI.cmd both sit inside the $oem$ folder. cmdlines is what calls the RunWPI.

wpi can also be called from your winnt.sif file

Add this line?

[GuiRunOnce]
"%SystemDrive%\WPI\WPI.hta"

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...