MSFN Forum: WPI Bug Report Thread - MSFN Forum

Jump to content


  • 11 Pages +
  • « First
  • 7
  • 8
  • 9
  • 10
  • 11
  • You cannot start a new topic
  • You cannot reply to this topic

WPI Bug Report Thread Rate Topic: -----

#161 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 21 August 2012 - 03:07 PM

It seems it would be useful to change, inside installer.js the :

case 'DELDIR': 
                           cmd="CMD /C RD /S /Q " + cmd;



Using - if it's possible - : CMD /C DEL /S /F /Q "AudioPath\*.*" && RD /S /Q "AudioPath"

Because the trouble is with mp3 files. I got the same error code 145 (the folder is empty, but the folder isn't removed).
But with a fixed path C:\Audio the music is displayed.

WPI_Log.txt

// Audio tab
   PlayAudioInInstaller=true
   InstallAudio=['Sleep Away.mp3']
   Volume=75
   Shuffle=true
   CopyAudioFolder=true
   CopyAudioPath=['C:\Myspace']
   DeleteAudioFolder=true



mardi 21 août 2012 23:00:56
   Programme: Copie du dossier audio sur le disque dur
   ID unique: COPY_AUDIO_TO_HD
   Ordre: 0
   Catégorie: WPI Built In
   mardi 21 août 2012 23:00:57 - cmd1 Succès (Code de retour 0): CMD /C XCOPY C:\WPI_v8.5.7\Audio C:\Myspace /C /I /E /Y /H /R
   mardi 21 août 2012 23:00:57 - Installation terminée.

-----

mardi 21 août 2012 23:00:57
   Programme: VLC
   ID unique: ---Nouveau---
   Ordre: 900001
   Catégorie: Applications
   mardi 21 août 2012 23:01:15 - cmd1 Succès (Code de retour 0): "C:\WPI_v8.5.7\Install\vlc-2.0.3-win32.exe" /S
   mardi 21 août 2012 23:01:15 - Installation terminée.

-----

mardi 21 août 2012 23:01:16
   Programme: Suppression du dossier audio sur le disque dur
   ID unique: DELETE_AUDIO_FROM_HD
   Ordre: 0
   Catégorie: WPI Built In
   mardi 21 août 2012 23:01:16 - cmd1 ** Avertissement ** (Code de retour 145): CMD /C RMDIR /S /Q C:\Myspace
   mardi 21 août 2012 23:01:16 - Installation terminée.

-----

Nombre d'installations échouées: 0

Installation terminée: mardi 21 août 2012 23:01:17



Regards

This post has been edited by myselfidem: 21 August 2012 - 05:07 PM



#162 User is offline   Kelsenellenelvian 

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

Posted 21 August 2012 - 03:14 PM

K will upload a test version tonight for you twos approval

#163 User is offline   Whatsup 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 11-February 10

Posted 21 August 2012 - 03:35 PM

Hi....

Wow myselfidem,nice solutions you found!!!!

Thx a lot men^^.

And yes i love to try it Kel.thx to^^

PS:Sorry for late replay!!!hard time work here!!!.....

Thank you guys...

greatings..

This post has been edited by Whatsup: 21 August 2012 - 03:51 PM


#164 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 August 2012 - 04:08 AM

It's just a question:

How to be sure that the music inside the installer is really displayed from the HDD if we select: copy the Audio folder and play from the HDD?

Regards

*Edit: I see that the problem is when a mp3 file is in use (at last) the error code 145 is displayed and the folder isn't removed, but all files inside are removed!
And there is no trouble to remove the files and folder if another music file (.mid file) is selected at the end of the installation, all files and the folder are removed (also mp3 files), using RD /S /Q "Audiopath".

I think this is proof that the music file is read from the HDD!


*Edit: Problem solved adding more time to stop Media Player using mp3 files at line 532 inside installer.js and with a fixed path C:\Audio

if (PlayAudioInInstaller && DeleteAudioFolder && programs[i].uid=="DELETE_AUDIO_FROM_HD")  // Stop player so can delete folder
  {
   document.getElementById("MediaPlayer").controls.stop();
   document.getElementById("MediaPlayer").url="";
   Pause(0,2500);
  }



Spoiler


*Edit: There is no trouble selecting Install.m3u file but this one isn't displayed...Strange!

This post has been edited by myselfidem: 22 August 2012 - 06:50 AM


#165 User is offline   Whatsup 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 11-February 10

Posted 22 August 2012 - 11:56 AM

View Postmyselfidem, on 22 August 2012 - 04:08 AM, said:

It's just a question:
How to be sure that the music inside the installer is really displayed from the HDD if we select: copy the Audio folder and play from the HDD?


Inside Install.m3u you can see,if the music play from CD/DVD/USB or HHD..

CD/DVD/USB then setting is 01.mp3

HHD then settings is C:\Audio\01.mp3

Grt Whatsup

#166 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 August 2012 - 12:04 PM

Thanks! :)

Install.m3u (example mine)

C:\Audio\Kalimba.mp3
C:\Audio\Install.m3u



Have you tried to change only the time inside installer.js like I explained above?
Works fine for me!

This post has been edited by myselfidem: 22 August 2012 - 12:12 PM


#167 User is offline   Whatsup 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 11-February 10

Posted 22 August 2012 - 12:18 PM

View Postmyselfidem, on 22 August 2012 - 12:04 PM, said:

Thanks!

Have you tried to change only the time inside installer.js like I explained above?

No not yet...
I go try it...but i have not realy the time problem..But maby i mis it?
I go test it to be sure..

Thx

#168 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 August 2012 - 12:21 PM

It's easy to do, you just need to change the time (0,250) to (0,2500) inside installer.js and keep copy and delete the Audio folder!

Thanks to give your result!

This post has been edited by myselfidem: 22 August 2012 - 12:23 PM


#169 User is offline   Whatsup 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 11-February 10

Posted 22 August 2012 - 12:23 PM

View Postmyselfidem, on 22 August 2012 - 12:04 PM, said:

Thanks! :)

Install.m3u (example mine)



C:\Audio\Install.m3u is not visible in my Install.m3u.

Only C:\Audio\01.mp3 t/m C:\Audio\38.mp3

#170 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 August 2012 - 12:26 PM

It's because making test I selected Install.m3u ! :)
Please give your result about my question above, when you have time!

This post has been edited by myselfidem: 22 August 2012 - 12:27 PM


#171 User is offline   Whatsup 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 11-February 10

Posted 22 August 2012 - 12:52 PM

View Postmyselfidem, on 22 August 2012 - 12:26 PM, said:

Please give your result about my question above, when you have time!


Lol...You are amazing...No Warning more!!!!

Pause(0,2500); Fix it^^
Succes now!!!!

Nice Men thx again^^

This post has been edited by Whatsup: 22 August 2012 - 12:54 PM


#172 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 August 2012 - 12:56 PM

Thanks Whatsup and Cheers and enjoy! ;)

#173 User is offline   Whatsup 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 11-February 10

Posted 22 August 2012 - 12:59 PM

Will I do...Thanks for your time

#174 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 August 2012 - 03:55 PM

View PostWhatsup, on 22 August 2012 - 11:56 AM, said:

Inside Install.m3u you can see,if the music play from CD/DVD/USB or HHD..

CD/DVD/USB then setting is 01.mp3

HHD then settings is C:\Audio\01.mp3


Yes! About the HDD...
But I think, if we do not copy the Audio folder to HDD, the music is displayed inside the installer Audio Player and there is no path:

Install.m3u
Kalimba.mp3


(I realize that this is what you said but in a different way! )

It seems the trouble is that the file Install.m3u doesn't accept variables like %systemdrive% and fixe the path to CopyAudio toHD with "C:\Audio" (drive letter), will be a solution, I think!
Environment variable

Cheers

This post has been edited by myselfidem: 23 August 2012 - 12:45 AM


#175 User is offline   Kelsenellenelvian 

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

Posted 23 August 2012 - 06:44 AM

v8.5.8 Updates - Released August 23rd, 2012
====================================================
*** Lots of audio fixes.
*** Added fuction getosver number.
*** Fixed more missing information from the log file.
*** Changed the lang_en file. (Line 181 and a new line at bottom)

Use your update function

OR

http://www.wpiw.net/.../WPI_v8.5.8.zip

#176 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 23 August 2012 - 07:26 AM

Many thanks Kels for the new release WPI_v8.5.8 :thumbup

However, I think it's better to avoid fatal errors to fix the path for Copy Audio to HDD like: C:\WPI_Audio (without quotes).

If a user keep only "C:\" many folders will be removed during testing!

Regards


*Edit: WARNING!! I tested now using "C:\" and my system crashes and I lost all my work, my datas and the french translated manual...
I must reinstall my system...

This post has been edited by myselfidem: 23 August 2012 - 10:04 AM


#177 User is offline   Kelsenellenelvian 

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

Posted 23 August 2012 - 08:48 AM

OMFG!!!

I am so sorry.

I guess I got it to truly delete the audio folder now though huh?

I fixed the path issue and reuploaded it.

Once again I am very sorry. :S

#178 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 23 August 2012 - 09:01 AM

Don't worry Kels. I am the culprit...;)
My bad..

I wanted just give the warning...

Keep your good work.

Regards


"Edit: Maybe the best way would be to "block" the path for Copy Audio folder to HDD, because if we use one time this fonction, skeep and we try again we can set the path to "C:\" only !

To be sure and avoid this fatal error - with copy and remove the folder - as Windows always is installed on "C:\" partition what do you think to block the path with a greyed text with the path ?
The path, like this, can't be changed: Example : C:\WPI_Audio

This post has been edited by myselfidem: 24 August 2012 - 12:08 PM


#179 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 23 August 2012 - 10:53 AM

Tanslated french manual was recovered using Restauration: :thumbup

Restauration

As I have a multiboot with Windows XP and Windows 7, I have recovered my translated french manual, but it is not all translated now! :yes:
I must reinstall my system, but it's not a problem!

Regards

*Edit:

It would be fine to block (greyed) the path for C:\WPI_Audio (or C:\Audio), for security reason and/or inadvertently !

When I select some applications there is an error on Windows 7 with System event and the system needs time: 4 minutes to start and 4 minutes to restart the first time.
If I install all programs, all is fine: 20 seconds to start and 20 seconds to restart.

This post has been edited by myselfidem: 23 August 2012 - 11:25 AM


#180 User is offline   Kelsenellenelvian 

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

Posted 23 August 2012 - 03:20 PM

Quote

It would be fine to block (greyed) the path for C:\WPI_Audio (or C:\Audio), for security reason and/or inadvertently !

When I select some applications there is an error on Windows 7 with System event and the system needs time: 4 minutes to start and 4 minutes to restart the first time.
If I install all programs, all is fine: 20 seconds to start and 20 seconds to restart.


Can you clarify???

Share this topic:


  • 11 Pages +
  • « First
  • 7
  • 8
  • 9
  • 10
  • 11
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy