MSFN Forum: WPI 7.8.0 Feature requests. - MSFN Forum

Jump to content



  • 5 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

WPI 7.8.0 Feature requests. Rate Topic: -----

#1 User is offline   Kelsenellenelvian 

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

  Posted 28 July 2009 - 12:07 AM

Lets have them.


#2 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 354
  • Joined: 20-March 04

Posted 29 July 2009 - 03:23 PM

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: 29 July 2009 - 03:37 PM


#3 User is offline   Kelsenellenelvian 

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

Posted 29 July 2009 - 03:39 PM

As long as it's NOT coded in auto-it that would be EXTREMLY usefull.

#4 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 29 July 2009 - 08:47 PM

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"

#5 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 354
  • Joined: 20-March 04

Posted 31 July 2009 - 04:15 PM

View Postmritter, on Jul 30 2009, 04:47 AM, said:

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: 01 August 2009 - 02:56 PM


#6 User is offline   Kelsenellenelvian 

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

Posted 31 July 2009 - 08:08 PM

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










Nothing.

#7 User is offline   Kelsenellenelvian 

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

Posted 31 July 2009 - 09:12 PM

Nevermind I am just dumb today.

I ran it on folder outside of the wpi.hta and not beside the wpi.hta.

#8 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 354
  • Joined: 20-March 04

Posted 01 August 2009 - 02:55 PM

View PostKelsenellenelvian, on Aug 1 2009, 05:12 AM, said:

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: 83

#9 User is offline   AlBundy33 

  • Member
  • PipPip
  • Group: Members
  • Posts: 217
  • Joined: 02-January 05

Posted 03 August 2009 - 11:55 AM

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

#10 User is offline   Kelsenellenelvian 

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

Posted 03 August 2009 - 01:04 PM

Hmmmmm Now that very well could be done.

#11 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 03 August 2009 - 01:22 PM

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?

#12 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 03 August 2009 - 06:29 PM

Added the above variables. Thus creating new function

{JSCRIPT}=removeEnvVar(Variable)

They are removed when WPI exits.

#13 User is offline   AlBundy33 

  • Member
  • PipPip
  • Group: Members
  • Posts: 217
  • Joined: 02-January 05

Posted 11 August 2009 - 12:52 PM

{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.:
{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

#14 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 354
  • Joined: 20-March 04

Posted 12 August 2009 - 04:56 AM

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.

#15 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 12 August 2009 - 07:00 AM

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.

#16 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 354
  • Joined: 20-March 04

Posted 12 August 2009 - 11:48 AM

View Postmritter, on Aug 12 2009, 03:00 PM, said:

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.

View Postmritter, on Aug 12 2009, 03:00 PM, said:

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.

View Postmritter, on Aug 12 2009, 03:00 PM, said:

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.

#17 User is offline   sgtrwe 

  • Group: Members
  • Posts: 2
  • Joined: 03-May 08

Posted 16 August 2009 - 12:04 PM

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

#18 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 17 August 2009 - 12:00 PM

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

#19 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 17 August 2009 - 12:02 PM

That will probably make in the next version. I have a note sitting right on desk, on top of my To Do List.

#20 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 17 August 2009 - 11:37 PM

Quote

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


:sneaky: Thanks, mritter ! :-)

Share this topic:


  • 5 Pages +
  • 1
  • 2
  • 3
  • Last »
  • 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