View Full Version : Help - This has got to be an easy one!

08-29-2003, 11:56 AM
Got the identifier (in the Resourse tab) PROGRAM_PATH set as:
C:\Program Files\Assureweb\NewBusiness

In script I set variable as follows:

Finally sz_Dir is passed into sdAskDestPath as 2nd paremeter.

Because of the \N in "...web\NewBusiness" gets transalated into CR/LF, sdAskDestPath displays default path truncated as:
C:\Program Files\Assureweb

What's the solution?
1/ the path is not negotiable
2. First useful answer wins a beer from me - Just let me know if you're ever in the arear and I'll be your grateful host

08-29-2003, 05:07 PM
I just tried this as-is in Professional 7, and it seems to work; some guesses:

Long shot: does doubling the backslashes make any difference? As in "C:\\Program Files\\Assureweb\\NewBusiness"?

If not, could you break the path into separate string-table entries, and then assemble the pieces in your script---


---where SUB1 is a string-table entry with "Assureweb", and SUB2 is "NewBusiness"?

P.S. This is explicitly listed as fixed in the Professional 7.0 release notes: http://www.installshield.com/downloads/isp/isp_readme70.asp.