MSFN Forum: Cannot install programs - MSFN Forum

Jump to content



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

Cannot install programs Rate Topic: -----

#1 User is offline   No6 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 25-February 05

Posted 27 November 2005 - 10:12 PM

I've been at this for at least a day and can't get past it. The error just doesn't make sense to me but it might to someone else.

I have reverted to right-out-of-the-box WPI v4.35 so there is no question of interference from customization. I have 2 sample programs in the Install folder. Sample1.CMD and Sample2.EXE.

When I attempt to install, the CMD batch file executes, but the EXE program cannot be found by Windows. The RunOnceEx looks normal. I have tried it using %CDROM% and %wpipath% to no avail. I have tried anything I can think of. Run from CD, HD path, HD root. About the only thing that I haven't tried is a virgin sacrifice to the geek gods and I'm contemplating that next.

Needles to say that I cannot install ANY programs. Any ideas?

The Registry entries:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\00501]
@="CMD Sample"
"2"="CMD /c %wpipath%\\Install\\Sample1.CMD"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\00502]
@="EXE Sample"
"2"="%wpipath%\\Install\\Sample2.EXE"


#2 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 November 2005 - 10:15 PM

What is your folder layout? where is your wpi folder located?

#3 User is offline   No6 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 25-February 05

Posted 27 November 2005 - 11:14 PM

View Postkelsenellenelvian, on Nov 27 2005, 09:15 PM, said:

What is your folder layout? where is your wpi folder located?


At Root. I have an empty HD partition and I put all the files there. I haven't burned an actual CD, but I have created an ISO that I used with with VMWare.

My layout:

Directory of V:\

Name Size Date/Time

Audio <DIR> 2005/11/26 20:42
Common <DIR> 2005/11/26 20:42
Graphics <DIR> 2005/11/26 20:42
Install <DIR> 2005/11/26 20:42
Recycler <DIR> 2005/11/25 13:15
System Volume Information <DIR> 2005/11/21 14:49
Themes <DIR> 2005/11/26 20:42
Tools <DIR> 2005/11/26 20:42
UserManual <DIR> 2005/11/26 20:42
Wpiscripts <DIR> 2005/11/26 20:42
Audio.exe 244 kb 2005/07/26 04:46
Autorun.inf 39 b 2005/07/26 03:52
Copy of WPI.cmd 1,209 b 2005/11/27 20:37
WPI.cmd 1,442 b 2005/11/27 20:56
WPI.hta 3,186 b 2005/08/01 22:09
WPI.ico 117 kb 2005/03/20 00:58

Thank you for the response.

#4 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 28 November 2005 - 03:20 AM

to be honest, the size and date isnt interest.

Next time do this to explain how your diskstructure is. do it looks like this a bit?

This post has been edited by SolidasRock: 28 November 2005 - 03:16 PM


#5 User is offline   No6 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 25-February 05

Posted 28 November 2005 - 01:11 PM

View PostSolidasRock, on Nov 28 2005, 02:20 AM, said:

to be honest, the size and date isnt interest.


Understood. I just dumped the printer directory to a text file to report it. But as I mentioned, everything resides in the root directory. This is independent of my WinXP UA setup CD so there is nothing else on the disk. Just the WPI files and folders in the root directory.

As a sidenote, how Do you get the screenshot of the tree?

#6 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 28 November 2005 - 03:16 PM

View PostNo6, on Nov 28 2005, 08:11 PM, said:

View PostSolidasRock, on Nov 28 2005, 02:20 AM, said:

to be honest, the size and date isnt interest.

As a sidenote, how Do you get the screenshot of the tree?

open your disk in windows explorer
ALT+printscrn (at your keyboard)
paste in paint
cut things out which isnt important
save it as a jpg
load it to a post by using file attachements
ready!

#7 User is offline   No6 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 25-February 05

Posted 28 November 2005 - 10:41 PM

Learning something new every day...

Here's a screenshot.

I discovered another issue that *may* have something to do with it, although I don't see the connection. I use WinXP Reduced Media Edition and WPI crashes when it tries to initialize the player, unless I turn off the option. Could that have an indirect effect to my immediate problem?

It just doesn't make sense... If the pathing is wrong, it shouldn't be able to run the Sample1 file, which is a batch. So, it can find the Batch file but not the Executable which is in the same directory.

Can someone tell me how the file structure of WPI works? %CDROM% is passed to RunOnceEX and it holds the path to the installation directory, correct? Are the WPI scripts also relative to the same path or something else? The manual is very vague about this particular point and makes troubleshooting impossible.

Thanks for all the help on this, I would like to see this working to conclude my UA installation.

Attached File(s)

  • Attached File  WPI.jpg (15.21K)
    Number of downloads: 20

This post has been edited by No6: 29 November 2005 - 01:03 AM


#8 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 November 2005 - 01:22 AM

The audio player is dependant on the WMP so yes please disable it.

#9 User is offline   No6 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 25-February 05

Posted 29 November 2005 - 03:05 AM

Here's a strange thing;

I created another entry but instead of installing a program, I used the FILECOPY command to copy the icon to the %CDROM%\Install Directory. It copied the file without a problem.

So, RunOnceEX can run a batch program, copy a file, (so the the path is correct) but it cannot find the EXE file that resides in the same folder. I've never seen this before.

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