zozoz2000 Posted March 24, 2010 Share Posted March 24, 2010 Hi all!I found a bug in the "configwizard_createshortcut.js".When I use the CreateShortcut() function with SubFolder option(folder doesn't exist yet) it doesn't create new SubFolder folder.So i changed the js script to me: if (SpecialFolder=="Favorites" || SpecialFolder=="MyDocuments" || SpecialFolder=="StartMenu" || SpecialFolder=="Programs" || SpecialFolder=="AllUsersStartMenu" || SpecialFolder=="AllUsersPrograms") { if(!(fso.FolderExists(strSpecialFolders+"\\"+SubFolder)) && SubFolder.length != 0) { fso.CreateFolder(strSpecialFolders+"\\"+SubFolder); } txt +=SubFolder+"\\"; }Sorry for my bad english.. Link to comment Share on other sites More sharing options...
mritter Posted March 24, 2010 Share Posted March 24, 2010 Thanks. Code updated. Link to comment Share on other sites More sharing options...
sT0n3r Posted March 29, 2010 Share Posted March 29, 2010 Hi all!I found a bug in the "configwizard_createshortcut.js".When I use the CreateShortcut() function with SubFolder option(folder doesn't exist yet) it doesn't create new SubFolder folder.So i changed the js script to me: if (SpecialFolder=="Favorites" || SpecialFolder=="MyDocuments" || SpecialFolder=="StartMenu" || SpecialFolder=="Programs" || SpecialFolder=="AllUsersStartMenu" || SpecialFolder=="AllUsersPrograms") { if(!(fso.FolderExists(strSpecialFolders+"\\"+SubFolder)) && SubFolder.length != 0) { fso.CreateFolder(strSpecialFolders+"\\"+SubFolder); } txt +=SubFolder+"\\"; }Sorry for my bad english..Hii also need for the configwizard_createshortcut.js command to create the subfolders.where in the configwizard_createshortcut.js do i insert this code ? or could someone please upload an updated versionthank you. Link to comment Share on other sites More sharing options...
icnocop Posted April 3, 2010 Share Posted April 3, 2010 Hi!WPI always skip one command after reboot under Win 7. I have the following commands: install SPTD driver (exe), reboot then run daemontools script (exe). I tested on several machines and none of them run the daemon script, after rebott WPI just jumped to the next app. I can't find in the log either.It works in Win XP.<snip>Has anyone figured out a fix for this issue yet?Thank you. Link to comment Share on other sites More sharing options...
icnocop Posted April 3, 2010 Share Posted April 3, 2010 I've discovered another bug on Windows 7 x64.Steps to reproduce:1. Download and unzip WPI2. Double-click WPI.hta3. Click Exit4. Double-click WPI.hta again[script Error]/!\ An error has occurred in the script on this page.Line: 1Char: 1Error: Invalid characterCode: 0URL: file://C:/WPI-test/WPIScripts/windowoptions.jsDo you want to continue running scripts on this page?[Yes] [No]The error dialog gets displayed again but for useroptions.js. 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