Ok, All I need to do is remove the file name from the end of a string in a wise script. The path string comes from my Wise For Windows Installer setup and when it reaches my InstallMaster Script it looks like:
C:\Program Files\Setup.exe
But I need it to be
C:\Program Files
I know I can use the "Set Variable" Action to remove the "trailing backslashes" but when I click the "remove filename" checkbox, the filename is still in the variable.
How do I do this?
This is what I have now:
Set Variable MSDEPATH to %MSDEPATH% (with "remove trailing backslashes" marked as the operation)
Set Variable MSDEPATH to %MSDEPATH% (with "remove filename" checkbox checked and "Nothing" as the operation)
Set Variable MSDEPATH to %MSDEPATH% (with "remove trailing backslashes" marked as the operation)
What am I doing wrong?
Thanks you, and I'm sorry if this post seems sparatic. But I'm in a hurry, if I get this to work my install is complete.. HOORAY!
C:\Program Files\Setup.exe
But I need it to be
C:\Program Files
I know I can use the "Set Variable" Action to remove the "trailing backslashes" but when I click the "remove filename" checkbox, the filename is still in the variable.
How do I do this?
This is what I have now:
Set Variable MSDEPATH to %MSDEPATH% (with "remove trailing backslashes" marked as the operation)
Set Variable MSDEPATH to %MSDEPATH% (with "remove filename" checkbox checked and "Nothing" as the operation)
Set Variable MSDEPATH to %MSDEPATH% (with "remove trailing backslashes" marked as the operation)
What am I doing wrong?
Thanks you, and I'm sorry if this post seems sparatic. But I'm in a hurry, if I get this to work my install is complete.. HOORAY!