Jump to content

%source% - Setup Programs From Hdd


Recommended Posts

I want to keep my programs in a partition of disk, but drive letter changes when setting windows up to different PCs.

What I needed was putting some file on a partition and define the partition containing that file as %Source%

As the WPI itself can define %CDRom%, adding what I want, to "generate.js" was easy (At first I thought that only adding this to wpi.cmd would be enough :) after finding out that generate.js was the one finding the CDRom it was easy, copy paste change some variables:) )

If anyone needs what I needed my generate.js is attached.

You only need to put a file named "Source.drv" in the root of the drive containing setup files and use "%Source%" instead of "x:"

generate.js

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