Jump to content

Installing from a network share path


Recommended Posts

Is it possible to have WPI configured to install my apps from a UNC path?

It seems that when I add the double backslash it is getting converted to a single backslash by the time it gets added to the registry.

e.g.

"\\dmmsupport1\install\_SETUP\sqlcli\standard\x86\setup\setupsql.exe" -s -m -SMS -f1 "\\dmmsupport1\install\_SETUP\sqlcli\standard\sqlcli.iss"

turn into...

"\dmmsupport1\install\_SETUP\sqlcli\standard\x86\setup\setupsql.exe" -s -m -SMS -f1 "\dmmsupport1\install\_SETUP\sqlcli\standard\sqlcli.iss"

Link to comment
Share on other sites


yes you can and it is simply adding 6 backslashes! yes \\\\\\ before the server name.

your code would be

cmd1[pn]=['\\\\\\dmmsupport1\\install\\_SETUP\\sqlcli\\standard\\x86\\setup\\setupsql.exe -s -m -SMS -f1"\\\\\\dmmsupport1\\install\\_SETUP\\sqlcli\\standard\\sqlcli.iss"']

This is code entered directly into the config.js, not sure what would happen if you use the config option.

just tested it in config.js

With this you should not use the config option at all, as it parses the 6 backslashes with every click of the save button so that you are eventually left with only two.

Best if you have a plain Server install to use an older version.

Link to comment
Share on other sites

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...