fanatf1 Posted July 20, 2006 Posted July 20, 2006 (edited) 2 DjéHmm i use at same time first fix http://www.msfn.org/board/index.php?s=&...amp;p=533799%5band second fixhttp://www.msfn.org/board/index.php?s=&...st&p=533870 Thats it. Install order - fine, installation - fine, red cross near every programs (in log everything is Success) - not fine.Where i must check? Edited July 20, 2006 by fanatf1
sadicq Posted July 20, 2006 Posted July 20, 2006 (edited) Well that's really bad ... You can't use them at the same time. Choose one of them and apply it. And also apply the first fix which is this, especially if you are using my second fix.You did no counted well the fixes: here is how it goes: my first fix - the one which replaces i with item. My second fix - the one which replaces i with k. The third fix (Djé's) - the one which adds a var i in the function.The first fix is good to apply no matter what you choose next. But you have to choose between the other ones. Edited July 20, 2006 by sadicq
Djé Posted July 20, 2006 Posted July 20, 2006 You can't use them at the same time.Why not? The 3 fixes are applied to 3 different functions. I'd say that applying the 3 of them is the best solution. Or I'm missing something? Other than that, I totally agree:@fanatf1: when we talk about 1st & 2nd fix, it's refering to both sadicq's fixes, not mine.
sadicq Posted July 20, 2006 Posted July 20, 2006 Hm, but your fix declares the i variable which will not be modified if my second one is applied.So, using the 3 fixes together has an useless variable declared (i), but will work.But if you use only my second fix and your fix, we have an i called in the InstallOne() fucntion which will remain the same no matter what happens in the other function.
mritter Posted July 21, 2006 Author Posted July 21, 2006 DIRCOPY is the built-in command. Use DIRCOPY like you would %CDROM%. If you are not using it that way, base your command line on this:DIRCOPY gets replaced with:CMD /C xcopy /I /E /Y .......CMD /C opens a command window.
fanatf1 Posted July 21, 2006 Posted July 21, 2006 2Djé & sadicqOk all clear. I will try. Both ways: 1 & 2 fix from sadicq and only fix from Dje.Thanx for support guys!
Djé Posted July 21, 2006 Posted July 21, 2006 So, using the 3 fixes together has an useless variable declared (i), but will work. But it's declared in a totally different function (ReplacePath()) located in a different file (generate.js)!It's not useless because anyhow, the i variable is used in that other function.Declaring it (in ReplacePath) prevents it from interfering with other i variables in other functions... Which fixes the bug and any forthcoming one of the same order.Of course replacing i by k also kills the interference related to our bug.That's why both fixes do work.
vampus8 Posted July 21, 2006 Posted July 21, 2006 A small unrelated bug:When switching between different configurations from the gui installer, WPI sometimes fails to select all the proper check boxes. This only happens when switching between configurations that default to competing exclusions.For instance, in the attached config.js, the Laptop configuration has SAV10 Unmanaged selected while the desktop configuration has the SAV10 Managed option selected. If choose the Laptop config in the dropdown menu on the left, it selects SAV10 Unmanaged just fine. If I then select desktop, it unchecks SAV10 Unmanaged but leaves SAV10 Managed unchecked as well. The problem is fixed if I unselect everything between selecting the different configurations.Help me MSFN, you're my only hope.KevinconfigCleaned.js
Martin L Posted July 21, 2006 Posted July 21, 2006 when i try to use my own translated dutch pack i get this error..
sadicq Posted July 21, 2006 Posted July 21, 2006 (edited) That's an error coming from your translated file. You forgot to escape some special chars.Here is the fixed version.lang_nl.js Edited July 21, 2006 by sadicq
Spanishearl Posted July 23, 2006 Posted July 23, 2006 (edited) Hey all,New to this and trying to make this work right. I read through and I didn't see if anyone had the same problem I'm having. I have set up my config.js and all, I start up the WPI.hta again, and get this error:So when I click yes, I get this:I turned debugging on as well, and you can see at the top that it say's it's loading everything. This has been happening since I grabbed the Ultimate skin I think.Any help would be appreciated. I want to use that skin and make this thing work.[EDIT:] I just tried out a different skin and same error. Edited July 23, 2006 by Spanishearl
Kelsenellenelvian Posted July 23, 2006 Posted July 23, 2006 Could you please post your config.js file? (As an attachment)
Guest Edvinas Posted July 24, 2006 Posted July 24, 2006 (edited) Any comment on this?Seems that backslashes in parameter causes a problem for WPIcmd1[pn]=['%CDROM%\\Install\\7-Zip\\7z442.exe /S /D=%programfiles%\\Tools\\7-Zip'];Hi,I am getting Java script error while trying to install 7-Zip to specific folder:After that error WPI install progress window stays open it is impossible to close it.7-Zip installation in fact is successful.My log file and config java scripts are attached.-- Edvinasedvino_cfg.jsWPI_Log.txt Edited July 25, 2006 by Edvinas
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