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
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Use of WINDIR in Installscript Project
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 27, 2010
05:22 PM
Use of WINDIR in Installscript Project
There have been other posts on this forum about the use of WINDR or WindowsFolder in IS projects. Many times when a machine is access via Citrix or Terminal Services or RDP, an IS project during an install will have problems properly resolving the WINDIR variable. Instead of yielding c:\windows it will yield c:\users\abc\windows where users\abc is the HOME DIRECTORY for the user logged on via RDP.
An alternative is to use the WindowsFolder directive. But, I have not been able to figure out who to use it in an InstallScript project. For example, here is a line of code from a script ..
svParams = "/u /s " + WINDIR ^ "Crystal\\CRUFLmfive.dll";
I have tried various methods to use WindowsFolder instead. It will show up as if it is a reserved word, but I can not get the script to properly compile using WindowsFolder.
Thanks
An alternative is to use the WindowsFolder directive. But, I have not been able to figure out who to use it in an InstallScript project. For example, here is a line of code from a script ..
svParams = "/u /s " + WINDIR ^ "Crystal\\CRUFLmfive.dll";
I have tried various methods to use WindowsFolder instead. It will show up as if it is a reserved word, but I can not get the script to properly compile using WindowsFolder.
Thanks
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 29, 2010
09:09 AM
Looking further, it appears, as I thought, that you cannot use WindowsFolder in a Installscript project. You must use WINDIR.
