lordsepid Posted February 2, 2009 Share Posted February 2, 2009 HiI have two useroptions and two config in my wpiscripts folder. the first ones are useroptions.js & config.js and the second ones are useroptions2.js & config2.jsi was recently using wpi 7.2.2 . when i wanted to load wpi, as i expected, it loaded the first ones but the next time i wanted to load wpi with the command line you mentioned in manual, it wasn't working perfectly i mean sometimes in some computers it loads the first ones and in some other computers with (i think) the same settings it loads the second ones.i upgraded to wpi 7.3 to fix it but the problem still remains.i should mention that the first time i load wpi is the first time windows loads after finishing setup with RunOnceExe.and also i've tried these command lines to load wpi with the second useroptions and config files : (CDROM has been set to CD drive)%CDROM%\WPI\WPI.hta options=useroptions2.js config=config2.js%CDROM%\WPI\WPI.hta options=%CDROM%\WPI\WPIScripts\useroptions2.js config=%CDROM%\WPI\WPIScripts\config2.js%CDROM%\WPI\WPI.hta options=.\WPIScripts\useroptions2.js config=.\WPIScripts\config2.jsand some others ...please help me if i'm doing something wrong ? Link to comment Share on other sites More sharing options...
lordsepid Posted February 2, 2009 Author Share Posted February 2, 2009 is there any way to disable some of the applications for a special config if i use multi configuration in general tab ? Link to comment Share on other sites More sharing options...
lordsepid Posted February 2, 2009 Author Share Posted February 2, 2009 (edited) still no answer ? at least tell me if i add a couple of configurations to "List of configuration choices" part of the options>general tab, is it possible to force some items from the application list in the first one and disable them in the second one ? or the "force" is absolute for all configurations ?please help me ! Edited February 2, 2009 by lordsepid Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 2, 2009 Share Posted February 2, 2009 (edited) OK I think I know what your issue may be.Use this reg file in execute after:Windows Registry Editor Version 5.00[-HKEY_CURRENT_USER\Software\WPI]See WPI used to keep some info in the reg for reboots and such and still does when reboots are called for.We thought it was fully self cleaning but that may not be so in your case.But all 3 should be working right for you. (They are all technically correct.)As for the commandlines I use this format and it works well for me.%CDROM%\WPI\WPI.hta options=useroptions2.js config=config2.js Edited February 2, 2009 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
lordsepid Posted February 3, 2009 Author Share Posted February 3, 2009 yes your right, that should work. when i saw it's loading the old config i found out that it should keep the address somewhere and i found it but even when i deleted it (HKEY_CURRENT_USER\Software\WPI), sometimes it was working and sometimes in some computers not ! also i found out that when i load it with my command (i mentioned above) sometimes it creates a CMD in %temp% that had a command like this :%systemroot%\system32\mshta.exe options=useroptions2.jsit wasn't pointing any config file so i think the problem happens there.i should mention that it's working in my system very well without any trouble but when i install a new windows in another system with the same method and i try to run wpi it runs normally but after that when i locate the useroption2 and config2 with the commands it just doesn't work and just loads the old config file.otherwise if i can use the second way (what i asked in my third post) i think that should be solved.is there anyway to do that ?i really appreciate your help, thank you Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 3, 2009 Share Posted February 3, 2009 (edited) Forced is Forced. (An issue that IS up for debate.. It might not last long) We may just remove that feature.As for the multi-config\defaults it only allows for different ones to be selected or not selected.With the commandlines you may have found a bug. I tried to call mritter all day to seee if we could track it down.Send me the 4 files.... I wanna try this sh*t out some more... Edited February 3, 2009 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
lordsepid Posted February 3, 2009 Author Share Posted February 3, 2009 (edited) ok. i'm sending it nowthank youEdit:i've sent them to your email Edited February 3, 2009 by lordsepid Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 3, 2009 Share Posted February 3, 2009 THANKS FOR THE REBOOTS!!! Grrrr. I opened a cmd prompt in my wpi dir and use this command here:WPI.hta options=useroptions2.js config=config2.jsIt ran fine.I tried several times switching between the 2...It all worked fine... Link to comment Share on other sites More sharing options...
lordsepid Posted February 3, 2009 Author Share Posted February 3, 2009 yes your right it works fine in my computer too, but i tested it again in another computer with the option you mentioned ([-HKEY_CURRENT_USER\Software\WPI]).it deletes the wpi key successfully but as i expected it loaded the config.js again not the config2.jsi found a cmd in the %temp% folder on the test system that wasn't created in my system's temp folder by wpi, it was "WPI_DebuggerRestart.cmd" and the contents were :"G:\WPI\Tools\Sleep.exe" -m 1500C:\WINDOWS\system32\mshta.exe "G:\WPI\wpi.hta" options=G:\WPI\WPIScripts\useroptions2.jsi tried to add "config=G:\WPI\WPIScripts\config2.js" at the end of it and run it again but it removed the "config" switch and the result was the same.the system i'm trying to test on has an intel cpu p4 3.2GHz and my system is an AMD phenom 9550i remember i've tried it on an AMD X2 5200 also and it wasn't working too.could it be because of the cpu or something like that ?i know you may think this is probably my mistake on something else but i've tried to make everything identical. even everytime i install windows again but the same method works different on different systems !also i found that when the wpi wants to load, a white window comes and goes and after one or two seconds it appears again and the wpi runs.i remember in the old versions it wasn't like that. Maybe i'm wrong but i think the second time the "WPI_DebuggerRestart.cmd" loads and that makes the problem !can you please help me to find the solution ? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 3, 2009 Share Posted February 3, 2009 I don't think it's you at all...The WPI flash is it setting the IE debugger engine for the office bug fix... This may cause your issue.Still trying to get ahold of mritter. Link to comment Share on other sites More sharing options...
lordsepid Posted February 4, 2009 Author Share Posted February 4, 2009 thanksI'll wait for your answer Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 4, 2009 Share Posted February 4, 2009 (edited) Are you on Vista on the test bed? (Is UAC enable or Disabled?)Did you modify ANY files?What is your full batch\start proccess? Edited February 4, 2009 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
lordsepid Posted February 4, 2009 Author Share Posted February 4, 2009 (edited) no i'm using it on XP.i didn't modify anything, actually both systems are completely identical in softwares (os and other settings) but the hardwares are different.the only thing i could think of was that maybe windows uses mshta.exe in different ways for different CPUs or mainboard's chipsets because it doesn't create the CMD file (WPI_DebuggerRestart.cmd) in my system at all. i searched for it my entire windows drive !this is my batch file :-----------------------------@echo offreg delete hkcu\software\WPI /fIF NOT EXIST %windir%\system32\mykrnl.exe goto extFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\cd.drv SET CDROM=%%i:%CDROM%\WPI\WPI.hta options=useroptions2.js config=config2.js:extexit-----------------------------however when i load it with a simple command like G:\WPI\WPI.hta options=useroptions2.js config=config2.js it doesn't work either.it's a little weird that it just loses the config file not both. Edited February 4, 2009 by lordsepid Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 4, 2009 Share Posted February 4, 2009 Add this in the place of REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /FREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /FThis:reg delete hkcu\software\WPI /fAnd try it again Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 4, 2009 Share Posted February 4, 2009 OK we have found the issue and are trying to fix it now.It wasn't you. We will have a fix out tommorow evening.P.S. Turn off the check for internet connection option if it is on it might help... 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