Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Runing WPI from USB drive

- - - - -

  • Please log in to reply
10 replies to this topic

#1
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 posts
Hello,

Until now I used DVD’s for my unattended Win7 and softwares. In my WPI v8.2.1 config.js I used the here bellow Command line example to launch the prog installation
cmds[pn]=['"%cdrom%\\Software\\Office2010\\OFFICE14FR.exe"'];


I finished preparing an unattended Win7 and softwares (16 GB) USB key thanks to Rufus utility
What will replace %cdrom%\\Software\\ in the command line to install the progs, since all progs are located into \Software folder of the same USB key as Win7?

I'll appreciate yr help


How to remove advertisement from MSFN

#2
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,209 posts
  • OS:none specified
  • Country: Country Flag
It appears that several things are involved.

First the "SETUPCOMPLETE.CMD" (and defined to run in your XML?) needs changed to find and set "WPIPATH", then change the affected JS to point to it, including any BAT/CMD that might have the variable passed to it, and possibly any of the BAT/CMD files to use instead that variable (WPIPATH).

WPIdotNET is temporarily out of commission, but the Manual should be in your Package and both the "XP $OEM$" Compressed file and the "Vista/Win7 SETUPCOMPLETE" Compressed file are still available on the Wayback Archive (Oct 2007) as "samples".

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#3
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 posts
TNX for yr reply but it doesn't help.
In fact I'm not (never) using SETUPCOMPLETE.CMD to launch WPI.

To launch WPI I'm using the CDVD-Switcher (see my topic's Signature ).
CDVD-Switcher is an AutoIt script and here bellow a part of it for the WPI.exe launching.
Local $aDrives = DriveGetDrive('CDROM')
        If Not @error Then
            For $i = 1 To $aDrives[0]
                If DriveStatus($aDrives[$i]) = 'READY' And FileExists($aDrives[$i] & '\Software\WPI\WPI.exe') Then
                    $FoundFile = StringUpper($aDrives[$i]) & '\Software\WPI\WPI.exe'    ;Assign Value to $FoudFile
                    ExitLoop
                EndIf
            Next
        EndIf
        Sleep(10) ;nominal sleep time to ease process consumption but maintain control of the System
        
        ;Next line closes AutoRun Window
        If WinExists('[REGEXPTITLE:AutoPlay; CLASS:#32770]', '') Then WinClose('[REGEXPTITLE:AutoPlay; CLASS:#32770]', '')
    
    Until $FoundFile ;Exit Loop when correct file on a CDROM drive is found
    
    ToolTip('') ;closes Tooltip
    
    Run($FoundFile) ;Runs the File


#4
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,209 posts
  • OS:none specified
  • Country: Country Flag
Nonetheless, the remainder of the concept is the same.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#5
alfreire

alfreire

    Member

  • Member
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Sorry, I misunderstood the question... :blushing:

Have you tried it...? I think it should work the same way...
Regards... ;-)

Edited by alfreire, 03 July 2012 - 12:36 PM.


#6
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,209 posts
  • OS:none specified
  • Country: Country Flag
Thx, alfreire, but the OP still wants to use an AutoIT - the method/changes nonetheless remains the same. I will assume that the "drive" variable will auto-insert into the WPI and still work? AFAIK, the Scripts will have to use that Variable, nonetheless (instead of the built-in variables). Take a look inside your JavaScript "list" and see what I mean... :unsure:

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#7
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,767 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hmmmm lemme ask:

WHY not use the %wpipath% variable as is and always has been shown in the exaples???

#8
apachedezign

apachedezign
  • Member
  • 1 posts
  • OS:XP Pro x86
  • Country: Country Flag
I use the standard v8.6.3 WPI, after I sett, when install error, I use external hardisc, can you please help me

#9
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,767 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I have summoned the technical support demons because my crystal ball is broken. The told me that when you last used WPI the offering you gave them was no-where near the amount they wanted. So the best thing I can tell you is to place your tower near the CPU god idol and pray harder next time...

In other words:

You provided NOWHERE enough information for us to help you.

What we need:

OS of the system running
WPI log
Config file
File\folder layout....

Edited by Kelsenellenelvian, 11 April 2013 - 06:49 PM.


#10
Siginet

Siginet

    Windows XP PowerPacker Creator

  • Member
  • PipPipPipPipPip
  • 739 posts

I have summoned the technical support demons because my crystal ball is broken. The told me that when you last used WPI the offering you gave them was no-where near the amount they wanted. So the best thing I can tell you is to place your tower near the CPU god idol and pray harder next time...

In other words:

You provided NOWHERE enough information for us to help you.

What we need:

OS of the system running
WPI log
Config file
File\folder layout....


LOL! My **** crystal ball never worked. :( And my CPU god sucks!! Time to offer up a sacrafice!

Posted Image
For those of you interested in my next software venture you can check it out here:
www.ITTechware.com


#11
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,767 posts
  • OS:Windows 7 x64
  • Country: Country Flag

LOL! My **** crystal ball never worked. :( And my CPU god sucks!! Time to offer up a sacrafice!


It got to the point where they were demanding a sacrifice of at least three apple product or a single windows 8 license though.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN