IPB

Google Frontpage Forums Unattended CD/DVD Guide
3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> WPI 7.8.0 Feature requests.
Kelsenellenelvia...
post Jul 28 2009, 12:07 AM
Post #1


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


Lets have them.
Go to the top of the page
 
+Quote Post
Francesco
post 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
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Jul 29 2009, 03:39 PM
Post #3


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


As long as it's NOT coded in auto-it that would be EXTREMLY usefull.
Go to the top of the page
 
+Quote Post
mritter
post Jul 29 2009, 08:47 PM
Post #4


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 828
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


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"
Go to the top of the page
 
+Quote Post
Francesco
post Jul 31 2009, 04:15 PM
Post #5


Advanced Member
***

Group: Members
Posts: 332
Joined: 20-March 04
Member No.: 16245



QUOTE (mritter @ Jul 30 2009, 04:47 AM) *
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
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Jul 31 2009, 08:08 PM
Post #6


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


Extraced and ran it.
Got the mshta white screen...
Waited for a long time (5min)...










Nothing.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Jul 31 2009, 09:12 PM
Post #7


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


Nevermind I am just dumb today.

I ran it on folder outside of the wpi.hta and not beside the wpi.hta.
Go to the top of the page
 
+Quote Post
Francesco
post Aug 1 2009, 02:55 PM
Post #8


Advanced Member
***

Group: Members
Posts: 332
Joined: 20-March 04
Member No.: 16245



QUOTE (Kelsenellenelvian @ Aug 1 2009, 05:12 AM) *
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

Attached File  WPI.rar ( 4.89K ) Number of downloads: 38
Go to the top of the page
 
+Quote Post
AlBundy33
post Aug 3 2009, 11:55 AM
Post #9


Member
**

Group: Members
Posts: 201
Joined: 2-January 05
Member No.: 39804
OS: none
Country Flag


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
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Aug 3 2009, 01:04 PM
Post #10


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


Hmmmmm Now that very well could be done.
Go to the top of the page
 
+Quote Post
mritter
post Aug 3 2009, 01:22 PM
Post #11


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 828
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


And how do you suppose that would be done, Kel? newwink.gif

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?
Go to the top of the page
 
+Quote Post
mritter
post Aug 3 2009, 06:29 PM
Post #12


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 828
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


Added the above variables. Thus creating new function

{JSCRIPT}=removeEnvVar(Variable)

They are removed when WPI exits.
Go to the top of the page
 
+Quote Post
AlBundy33
post Aug 11 2009, 12:52 PM
Post #13


Member
**

Group: Members
Posts: 201
Joined: 2-January 05
Member No.: 39804
OS: none
Country Flag


{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
Go to the top of the page
 
+Quote Post
Francesco
post 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.
Go to the top of the page
 
+Quote Post
mritter
post Aug 12 2009, 07:00 AM
Post #15


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 828
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


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.
Go to the top of the page
 
+Quote Post
Francesco
post Aug 12 2009, 11:48 AM
Post #16


Advanced Member
***

Group: Members
Posts: 332
Joined: 20-March 04
Member No.: 16245



QUOTE (mritter @ Aug 12 2009, 03:00 PM) *
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.

QUOTE (mritter @ Aug 12 2009, 03:00 PM) *
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.

QUOTE (mritter @ Aug 12 2009, 03:00 PM) *
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.
Go to the top of the page
 
+Quote Post
sgtrwe
post Aug 16 2009, 12:04 PM
Post #17





Group: Members
Posts: 2
Joined: 3-May 08
Member No.: 189873
OS: none
Country Flag


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
Go to the top of the page
 
+Quote Post
midiboy
post 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
Country Flag


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
Go to the top of the page
 
+Quote Post
mritter
post Aug 17 2009, 12:02 PM
Post #19


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 828
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


That will probably make in the next version. I have a note sitting right on desk, on top of my To Do List.
Go to the top of the page
 
+Quote Post
midiboy
post 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
Country Flag


QUOTE
I have a note sitting right on desk, on top of my To Do List.


shifty.gif Thanks, mritter ! :-)
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 22nd November 2009 - 06:44 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy