Jump to content

Recommended Posts

Posted

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.


Posted

: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 forced

Change it to this:

if (forc[i] == "yes"){  // check the checkbox for an app if it is forced

Tried 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!

:thumbup:thumbup

Posted

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.

Posted

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

Posted (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 by almulder

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...