July 29, 200917 yr Can you please make the music player stop playing when the install ends? The music covers the WPI Closes sound.Also, are you sure you don't need a WPI launcher that runs it as administrator and selects the correct MSHTA 32/64bit version? That could be quite useful. Edited July 29, 200917 yr by Francesco
July 30, 200917 yr Like I said before: if you specify the entire path to mshta it will use the 32/64 bit version accordingly.start "" /wait "%windir%\system32\mshta.exe" "%wpipath%\WPI\WPI.hta"
July 31, 200917 yr Like I said before: if you specify the entire path to mshta it will use the 32/64 bit version accordingly.start "" /wait "%windir%\system32\mshta.exe" "%wpipath%\WPI\WPI.hta"Yes, I know, but having to use batch files to launch the correct version is ugly, having a launcher would be much better. Anyway, I made it. It's 2kb without the icon, 8kb with the 6kb WPI icon. I attached the version with the icon to this message.If you need some changes tell me. This launcher could be also used to pass to WPI informations that it's unable to read, for example rather than having WPI check for explorer with findexplorer, this launcher could tell WPI if explorer is loaded with a reserved command line parameter. Edited August 1, 200917 yr by Francesco
August 1, 200917 yr Author Extraced and ran it.Got the mshta white screen...Waited for a long time (5min)...Nothing.
August 1, 200917 yr Author Nevermind I am just dumb today.I ran it on folder outside of the wpi.hta and not beside the wpi.hta.
August 1, 200917 yr Nevermind I am just dumb today.I ran it on folder outside of the wpi.hta and not beside the wpi.hta.Now I added a messagebox when WPI.hta is not foundWPI.rar
August 3, 200917 yr I want to use WPI-Environment-Args in batch-files (e.g. %ROOT%).Is it possible to set the environment before a command is executed?ThanksAl
August 3, 200917 yr And how do you suppose that would be done, Kel? Actually, yes, it could very easily be done. Consider it done.Just to ask: should it be an option or just do them all? (%root%, %wpipath%, etc.). Or just certain ones?hdd, cddrv, root, wpipath, oslang, oslocale, would be the whole list.Delete them when WPI exits?
August 4, 200917 yr Added the above variables. Thus creating new function{JSCRIPT}=removeEnvVar(Variable)They are removed when WPI exits.
August 11, 200917 yr {JSCRIPT}=setEnvVar(Variable, Value, GlobalFlag)would also be very nice.GlobalFlag = true: set variable in system-envGlobalFlag = false: set variable only for current process (sub-processes should also can use them).e.g.: {JSCRIPT}=setEnvVar("LOGFILE", "%SystemDrive%\install.log", false)%ROOT%\apps\myapp\install.cmdNow install.cmd can use %LOGFILE%.Because this variable is only used during install-process it should not be set in system-env - but it should be accessible for the next app without to redeclare it.Al
August 12, 200917 yr Can you please move the .HTA file in one of the folders? With the HTA and launcher in the same folder it could get confusing. Tell me if you can move it and where so I can rebuild the exe with the new path.Also if WPI is incompatible with some applications like Nero or need some certain windows files I can detect those and warn the user so they won't come complaining here when WPI doesn't load.
August 12, 200917 yr That would be a bad idea to move WPI.hta. It will throw off %wpipath%. And not everyone is going to use the launcher.Keep the launcher simple.
Create an account or sign in to comment