Kelsenellenelvian Posted July 18, 2005 Posted July 18, 2005 Who in here has one of the versions of WPI that was working with forced installs?If anyone please pm me so I can get a copy from you. (I am trying to get forced installs working again)This is top priority so someone please help me.
almulder Posted July 19, 2005 Posted July 19, 2005 I will see what I can find out. Just downlaoded 3.6.1
almulder Posted July 19, 2005 Posted July 19, 2005 :UPDATE:Solved the problem:Open "generate.js" and locate this section: function CreateFile(arg)Continue down the lines until you find this: if (forc[i]!=null && forc[i] == "true"){ // check the checkbox for an app if it is forcedChange it to this:if (forc[i] == "yes"){ // check the checkbox for an app if it is forcedTried tested and working again.And NO I have no clue how to program with javascript just luck and starting to understand the code.Let me know if the works or not!
almulder Posted July 19, 2005 Posted July 19, 2005 Just downloaded you 3.6.1 version. That is the only line changed. And it works. Let me look at your "generate.js" file list it as code here.
Kelsenellenelvian Posted July 19, 2005 Author Posted July 19, 2005 (edited) Unmodified generate.js file... Edited July 19, 2005 by kelsenellenelvian
Kelsenellenelvian Posted July 19, 2005 Author Posted July 19, 2005 Nevermind I figured it out there is no need to change the whole line it is the teminology.The line needs to be changed from "True" to "Yes"!Like this :if (forc!=null && forc == "yes"){ // check the checkbox for an app if it is forced
Kelsenellenelvian Posted July 19, 2005 Author Posted July 19, 2005 (edited) I did upload my file as an attachment! Edited July 19, 2005 by kelsenellenelvian
almulder Posted July 19, 2005 Posted July 19, 2005 (edited) Well in all sence the forc[i]!=null && dose not need to be their. It will still only install if forc[i] == "yes"so if "forc ==" equals anything else it will skip it from force install.Just thought I would help you understand what I did. You might have made the "yes" like this "Yes" then it won't work. It must all be lowercase.Just tested it in VMware and working. Told it to install none, and clicked Install. Forced programs installed as the were made to.Yes I did se your file but it was unmodified I wanted to see the one you modified to check for an error. The unmodified one is the same as the one in 3.6.1 unmodified right? Edited July 19, 2005 by almulder
Kelsenellenelvian Posted July 19, 2005 Author Posted July 19, 2005 Thank you very much forced installs Now work again!!
almulder Posted July 19, 2005 Posted July 19, 2005 Sure glad I could help. I am just glad it was something so easy to fix.
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