This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- $PROGRAM_DIR$ has extra space in it
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jul 22, 2009
03:54 PM
$PROGRAM_DIR$ has extra space in it
I am using the $PROGRAM_DIR$ variable to find a Windows setup.exe on the end users system during the Pre-Uninstall of my installer but for some reason the variable value comes back with some extra spaces in it. Has anyone else seen this?
I am looking for C:\Program Files\InstallShield Information\........ and it comes back as C:\Program Files \InstallShield Information\..... I have quotes around the entire path but it does not seem to be help at all because the path is still not found.
I am looking for C:\Program Files\InstallShield Information\........ and it comes back as C:\Program Files \InstallShield Information\..... I have quotes around the entire path but it does not seem to be help at all because the path is still not found.
(1) Reply
Jul 22, 2009
04:16 PM
I was actually setting another variable to $PROGRAM_DIR$ and I had two extra spaces in action to set the variable. Wish I would have noticed that earlier, oh well, maybe it will help someone else. Beware the copy and paste.