![]() ![]() |
Jul 28 2009, 12:07 AM Post
#1 | |
| WPI Guru Group: Software Developers Posts: 6516 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Windows 7 x64 |
Lets have them.
|
| | |
Jul 29 2009, 03:23 PM Post
#2 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 332 Joined: 20-March 04 Member No.: 16245 |
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. This post has been edited by Francesco: Jul 29 2009, 03:37 PM |
| | |
Jul 29 2009, 03:39 PM Post
#3 | |
| WPI Guru Group: Software Developers Posts: 6516 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Windows 7 x64 |
As long as it's NOT coded in auto-it that would be EXTREMLY usefull.
|
| | |
Jul 29 2009, 08:47 PM Post
#4 | |
| WPI Co-Developer Group: Software Developers Posts: 828 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64 |
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" |
| | |
Jul 31 2009, 04:15 PM Post
#5 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 332 Joined: 20-March 04 Member No.: 16245 | 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. This post has been edited by Francesco: Aug 1 2009, 02:56 PM |
| | |
Jul 31 2009, 08:08 PM Post
#6 | |
| WPI Guru Group: Software Developers Posts: 6516 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Windows 7 x64 |
Extraced and ran it. Got the mshta white screen... Waited for a long time (5min)... Nothing. |
| | |
Jul 31 2009, 09:12 PM Post
#7 | |
| WPI Guru Group: Software Developers Posts: 6516 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Windows 7 x64 |
Nevermind I am just dumb today. I ran it on folder outside of the wpi.hta and not beside the wpi.hta. |
| | |
Aug 1 2009, 02:55 PM Post
#8 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 332 Joined: 20-March 04 Member No.: 16245 | 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 found
WPI.rar ( 4.89K )
Number of downloads: 38 |
| | |
Aug 3 2009, 11:55 AM Post
#9 | |
| Member ![]() ![]() Group: Members Posts: 201 Joined: 2-January 05 Member No.: 39804 OS: none |
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? Thanks Al |
| | |
Aug 3 2009, 01:04 PM Post
#10 | |
| WPI Guru Group: Software Developers Posts: 6516 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Windows 7 x64 |
Hmmmmm Now that very well could be done.
|
| | |
Aug 3 2009, 01:22 PM Post
#11 | |
| WPI Co-Developer Group: Software Developers Posts: 828 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64 |
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? |
| | |
Aug 3 2009, 06:29 PM Post
#12 | |
| WPI Co-Developer Group: Software Developers Posts: 828 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64 |
Added the above variables. Thus creating new function {JSCRIPT}=removeEnvVar(Variable) They are removed when WPI exits. |
| | |
Aug 11 2009, 12:52 PM Post
#13 | |
| Member ![]() ![]() Group: Members Posts: 201 Joined: 2-January 05 Member No.: 39804 OS: none |
{JSCRIPT}=setEnvVar(Variable, Value, GlobalFlag) would also be very nice. GlobalFlag = true: set variable in system-env GlobalFlag = false: set variable only for current process (sub-processes should also can use them). e.g.: CODE {JSCRIPT}=setEnvVar("LOGFILE", "%SystemDrive%\install.log", false) %ROOT%\apps\myapp\install.cmd Now 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 |
| | |
Aug 12 2009, 04:56 AM Post
#14 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 332 Joined: 20-March 04 Member No.: 16245 |
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. |
| | |
Aug 12 2009, 07:00 AM Post
#15 | |
| WPI Co-Developer Group: Software Developers Posts: 828 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64 |
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. |
| | |
Aug 12 2009, 11:48 AM Post
#16 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 332 Joined: 20-March 04 Member No.: 16245 | That would be a bad idea to move WPI.hta. It will throw off %wpipath%. The launcher could set the environment variable, or pass a command line parameter, or the setWPIPath function inside core.js could be changed to remove the last directory entry so it wouldn't be such a big problem. And not everyone is going to use the launcher. Most people will go directly to the EXE now that they'll see there's one. Newbies will use it because they don't know that .HTA files can be run, pros will run it because they'll think it is now necessary to use it (and it is, if they want to avoid all the error messageboxes on vista because of UAC). Having only the executable and TXT files in the main dir could help make things less confusing. Keep the launcher simple. Adding some file/registry key checks to detect missing files or conflicting applications could hardly make the launcher bloated or slow because it c++ code is very fast and small. |
| | |
Aug 16 2009, 12:04 PM Post
#17 | |
| Group: Members Posts: 2 Joined: 3-May 08 Member No.: 189873 OS: none |
It would be nice if there was a README First Button. Placed above the Begin Install Button, when pressed it would display the contents of a readme.txt file. In the file, you can place instructions, and explanations about the programs on the list. For instance, I have a program that always ahs a problem during the install (no matter what I do). I could warn the user, that program may need operator intervention. If the file doesn't exist, then there would be no need to display the button. Thanks |
| | |
Aug 17 2009, 12:00 PM Post
#18 | |
| Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 556 Joined: 4-July 04 From: Vienna, Austria Member No.: 23952 OS: none |
Hi ! Once again I wish for a WPI commandline switch to disable all Cancel or Exit Buttons and Keyboard shortcuts so that people are forced to continue with an installation. Bye, Alex |
| | |
Aug 17 2009, 12:02 PM Post
#19 | |
| WPI Co-Developer Group: Software Developers Posts: 828 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64 |
That will probably make in the next version. I have a note sitting right on desk, on top of my To Do List. |
| | |
Aug 17 2009, 11:37 PM Post
#20 | |
| Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 556 Joined: 4-July 04 From: Vienna, Austria Member No.: 23952 OS: none | QUOTE I have a note sitting right on desk, on top of my To Do List. |
| | |
![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2009 - 06:44 AM |