Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Sign in to follow this  
rshadd

Installing from a network share path

Recommended Posts

rshadd    0

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"

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

It should work on all versions but as i said you cant use the config option, not at all as this deletes the backslashes!!!

Use an old version where this config option is not implemented...

What error report are you getting?

can you post a copy of it

below is a copy of my WPI that i use at work through a network.

WPI_EBRO.rar

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×