MSFN Forum: !Need some help with a different type of install with WPI! - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

!Need some help with a different type of install with WPI! path issues Rate Topic: -----

#1 User is offline   faaip565 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 07-December 05

Posted 07 December 2005 - 05:34 AM

I am using your installer in a different manner than most of your users here, and previous to 4.3 it was working fine. I am taking the WPI files and putting them in the root of an external usb hardrive. This hardrive contains all of my installation files (I have a very large amount of installation data and it will not fit onto a DVD). The problem I am having seems to derive from the path. After reading through these threads i have found several examples of this same issue but the thread seems to end before the resolution is found. When i run the WPI.cmd file it defines the cdrom drive (by finding the wpi.ico) correctly. but when i run a .bat file through the installation process it finds the bat file but fails to run any executables within the bat file (or find any files that are being copied) when i run a current directory check after the bat has been triggered it is saying that the current drive is now the root of C. How can I keep the environment inside the folder that the bat is being launched or at least keep the CD from reverting back to C:?

any help with this is greatly appreciated!!!!
Thanks


#2 User is offline   Doc Symbiosis 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 333
  • Joined: 03-August 04

Posted 09 December 2005 - 04:07 AM

When you have a fixed drive letter assigned to your USB-drive, you can use the following command to change to the folder containing the batch
cd /d %~dp0


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy