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

WPI.hta is not a valid Win32 application?

- - - - -

  • Please log in to reply
6 replies to this topic

#1
sandman_qc

sandman_qc

    Junior

  • Member
  • Pip
  • 66 posts
I need some help with that one please. Since yesterday I get this message when WPI is about to start installing my applications (after final reboot): D:\WPI\WPI.hta is not a valid Win32 application.

Now, the thing is weird because it was working perfectly the days before. The only thing I changed in my ISO (created mostly win nLite) is that I didn't remove anything and didn't do any tweaks. Only things I did were to add some drivers and make it unattended.... WPI works just fine when I populate it on my PC but when installing in Virtual PC it's a no go...

Any suggestions? Thanks!


How to remove advertisement from MSFN

#2
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,739 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Did you install nero7?

Set firefox as a defualt browser?

#3
sandman_qc

sandman_qc

    Junior

  • Member
  • Pip
  • 66 posts
Nope! No Nero and no Firefox. Weird thing is that it's the exact same configuration than before (except not removing stuff in nLite).

#4
sandman_qc

sandman_qc

    Junior

  • Member
  • Pip
  • 66 posts
Nope! No Nero and no Firefox. Weird thing is that it's the exact same configuration than before (except not removing stuff in nLite).

Btw, I'm using XP with SP3 slipstreamed...

#5
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,739 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Can I see your last_session.ini?

#6
sandman_qc

sandman_qc

    Junior

  • Member
  • Pip
  • 66 posts
I'll be damned... I started from scratch and now it's working... Only difference is that removed stuff (folders, languages, etc.).... Weird! Thanks anyway!

#7
stasys44

stasys44

    Member

  • Member
  • PipPip
  • 186 posts
From time to time this question is raised here and in Russian forum OSZONE i think in other forums also.

Sometimes by mistake mshta.exe is not associated with .hta files, sometimes (by mistake, by antivirus?,...) mshata.exe is removed from folder system32.
It is possible include simply mshta.exe into WPI. Then it needs some WPI launcher.
Exactly 3 years ago it was posted (I cannot find where) WPI-kTool with the launcher - wpi.exe. I suspect it is compiled from wpi.cmd, cmdow.exe, wpi.reg (?). WPI.exe works even with last WPI versions. But the launcher does not work when mshta.exe is removed from folder System32.

Could somebody compile the exe launcher for that case when mshta.exe is placed, say, in tools folder or close to wpi.hta?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN