Post a reply to the thread: Add Shared Resource does nothing?
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Add Shared Resource does nothing? Update: there is a problem with "Delete Shared Resource" (compiler bug). Fixed in our latest internal source codes.
Re: Add Shared Resource does nothing?
Re: Add Shared Resource does nothing? Hello, We have tested this on five different machines here and it always worked fine (see screenshots). This demo shares a folder (c:\5) on a Windows 2000 machine. HTH,
Re: Add Shared Resource does nothing? Hello, I tried the following and %_SB_ERRORCODE% always gives me an error code: Add Shared Resource TESTSHARE c:\ Display Message Box "%_SB_ERRORCODE%" -- "" What does the Display Message Box display for %_SB_ERRORCODE% in your case?
Add Shared Resource does nothing? I have an Add Shared Resource script item in my installer: Name: [PRODUCTNAME] Share Type: STYPE_DISKTREE Share Path: %_SB_INSTALLDIR% For Server Name, I've tried "%COMPUTER_NAME%", "\\%COMPUTER_NAME%", and a blank field (NetShareAdd docs state that a NULL servername argument means the local machine). %COMPUTER_NAME% holds the result of GetSystemInformation(ComputerName). In all of these cases, Add Shared Resource does nothing. I have stepped through in debug mode: No shared folder is created, %_SB_ERRORCODE% retains a blank value, nothing is logged to the Event Viewer. What's going on? I am an Administrator on this machine. I'm running XP.
Add Shared Resource does nothing?
Forum Rules