Whatsup Posted August 23, 2012 Share Posted August 23, 2012 (edited) Hi..WPI_v8.5.8 test!!"C:\Audio" With quotation marks it Fail...no music !!!C:\Audio This work fine!!...music play well^^---------------------------------------------------------------------------case 'DELDIR': cmd="CMD /C RMDIR /S /Q "+ cmd; this one Fail here to...Warning is back!!!..Audio folder still on HHD.case 'DELDIR': cmd="CMD /C RD /S /Q " + cmd; Stay by this one...this work fine Audio folder is now remove^^.-------------------------------------------------------------------------With these changes it works fine...Thanks for your hard work on this Fix Kel..Grt Whatsup. Edited August 23, 2012 by Whatsup Link to comment Share on other sites More sharing options...
ricktendo Posted August 23, 2012 Share Posted August 23, 2012 (edited) Kel you should try just \Audio without C: drive letterI use just a backslash+foldername with the cmd prompt in my waik commands because it automatically assumes the folder is on the system drive (worth a try) Edited August 23, 2012 by ricktendo64 Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 23, 2012 Author Share Posted August 23, 2012 Wow both worked fine for me in multpile tests Link to comment Share on other sites More sharing options...
myselfidem Posted August 23, 2012 Share Posted August 23, 2012 (edited) About the path to copy Audio foder on HDD.At first time the path is writed inside the box when a user wants copy the Audio folder and remove after the installation is done, but if we uncheck the remove and copy option and uncheck Audio Player, we can see if we select a new time the Audio Player that the box to write the installation path is empty and we can write: C:\ Block the path to C:\WPI_Audio would be a fine security for everyone. That mean we can not write inside the box even if we uncheck boxes.About the error if I select some applications and not all to install, when Windows restart there is a message on the taskbar: Error: Windows could not connect to the Event System Service, after 4 minutes to restart.I think we must keep the path to C:\WPI_Audio to write the music playlist inside Install.m3u file!Regards Edited August 25, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Whatsup Posted August 23, 2012 Share Posted August 23, 2012 Kel you should try just \Audio without C: drive letterI use just a backslash+foldername with the cmd prompt in my waik commands because it automatically assumes the folder is on the system drive (worth a try)Hi ricktendo64.I test your option..but sorry it fail here.Grt Whatsup Link to comment Share on other sites More sharing options...
myselfidem Posted August 23, 2012 Share Posted August 23, 2012 (edited) We can see inside Install.m3u file that using quotes for the path to copy and remove the folder give errors:"C:\Audio"\Java.mid"C:\Audio"\Mario.midThe music is only displayed using a path without quotes.Install.m3uC:\WPI_Audio\Java.midC:\WPI_Audio\Mario.midC:\WPI_Audio\Kalimba.mp3But with mp3 files there is a warning message like said Whatsup: The command RMDIR gives the error and path with quotes doesn't work (no music displayed)Same result as Whatsup.Regards Edited August 26, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 24, 2012 Author Share Posted August 24, 2012 Honestly? I am nearly ready to remove the whole feature. I have spent 40+ hours on it in the past week...I can fix the quotes issue but I only get the damned audio folder to delete half of the time... Link to comment Share on other sites More sharing options...
Francesco Posted August 24, 2012 Share Posted August 24, 2012 Is there a reason why<!--[if lt IE 7]><style type="text/css"> img, div, input, span { behavior: url("../WPIScripts/iepngfix.htc") }</style><![endif]-->has been removed from WPI.HTA? Without that transparency doesn't work in IE6. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 24, 2012 Author Share Posted August 24, 2012 Hmmm not sure I have added it back into my master though. Link to comment Share on other sites More sharing options...
myselfidem Posted August 24, 2012 Share Posted August 24, 2012 (edited) Using RD or RMDIR inside the installer.js works fine!Give error because a space is missing inside the line 1177:case 'DELDIR': cmd="CMD /C RMDIR /S /Q "space missing+ cmd; fsoCmd=true; break; WPI_Log.txt// Audio tab PlayAudioInInstaller=true InstallAudio=['Kalimba.mp3'] Volume=75 Shuffle=false CopyAudioFolder=true CopyAudioPath=['C:\WPI_Audio'] DeleteAudioFolder=true//vendredi 24 août 2012 08:25:39 Programme: Copie du dossier audio sur le disque dur ID unique: COPY_AUDIO_TO_HD Ordre: 0 Catégorie: WPI Built In vendredi 24 août 2012 08:25:39 - cmd1 Succès (Code de retour 0): CMD /C XCOPY C:\WPI_v8.5.8\Audio "C:\WPI_Audio" /C /I /E /Y /H /R vendredi 24 août 2012 08:25:39 - Installation terminée.-----vendredi 24 août 2012 08:25:39 Programme: VLC ID unique: VLC Ordre: 000001 Catégorie: Applications vendredi 24 août 2012 08:25:55 - cmd1 Succès (Code de retour 0): "C:\WPI_v8.5.8\Install\vlc-2.0.3-win32.exe" /S vendredi 24 août 2012 08:25:55 - Installation terminée.-----vendredi 24 août 2012 08:25:58 Programme: Suppression du dossier audio sur le disque dur ID unique: DELETE_AUDIO_FROM_HD Ordre: 0 Catégorie: WPI Built In vendredi 24 août 2012 08:25:58 - cmd1 Succès (Code de retour 0): CMD /C RMDIR /S /Q "C:\WPI_Audio" vendredi 24 août 2012 08:25:58 - Installation terminée.-----Nombre d'installations échouées: 0Installation terminée: vendredi 24 août 2012 08:25:59Regards@WhatsupTake care with the spaces inside the command you have changed!case 'DELDIR': cmd="CMD /C RD /S /Q(space in)"(space in)+(space in)cmd; Edited August 24, 2012 by myselfidem Link to comment Share on other sites More sharing options...
myselfidem Posted August 24, 2012 Share Posted August 24, 2012 Is there a reason why<!--[if lt IE 7]><style type="text/css"> img, div, input, span { behavior: url("../WPIScripts/iepngfix.htc") }</style><![endif]-->has been removed from WPI.HTA? Without that transparency doesn't work in IE6.Thanks Francesco. This is also missing inside Installer.htaThis code was inside previous version (WPI 8.0.0)Regards Link to comment Share on other sites More sharing options...
Whatsup Posted August 24, 2012 Share Posted August 24, 2012 @WhatsupTake care with the spaces inside the command you have changed!I did not change it..only copy en past here for info.But Thanks for the info...I'll keep an eye on^^ Link to comment Share on other sites More sharing options...
myselfidem Posted August 24, 2012 Share Posted August 24, 2012 @WhatsupTake care with the spaces inside the command you have changed!I did not change it..only copy en past here for info.But Thanks for the info...I'll keep an eye on^^Could you try now changing the command inside installer.js, like this, and let us know the result?:case 'DELDIR': cmd="CMD /C RMDIR /S /Q " + cmd; fsoCmd=true; break; Works fine for me! Link to comment Share on other sites More sharing options...
Whatsup Posted August 24, 2012 Share Posted August 24, 2012 Honestly? I am nearly ready to remove the whole feature. I have spent 40+ hours on it in the past week...I can fix the quotes issue but I only get the damned audio folder to delete half of the time...I'm really sorry.that it so much time cost you...that was not my intention..again sorry Kel.To make it clear for you:No1:C:\Audio Fix my music start...work great like this way.===============================================================No2:if (PlayAudioInInstaller && DeleteAudioFolder && programs.uid=="DELETE_AUDIO_FROM_HD") // Stop player so can delete folder { document.getElementById("MediaPlayer").controls.stop(); document.getElementById("MediaPlayer").url=""; Pause(0,2500); }Pause(0,2500); Fix the Audio folder removed from HD works great like this way...===============================================================Thx alot for all your time...and again sorry. Link to comment Share on other sites More sharing options...
myselfidem Posted August 24, 2012 Share Posted August 24, 2012 Honestly? I am nearly ready to remove the whole feature. I have spent 40+ hours on it in the past week...I can fix the quotes issue but I only get the damned audio folder to delete half of the time...It's just a little error inside the command!Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now