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
- :
- Documentation Error or Bug?
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
‎Jan 13, 2009
04:14 PM
Documentation Error or Bug?
:confused: Hello, I was wondering if anybody has had a similar experience where in an InstallScript MSI Project you utilized the function to return the path to the SUPPORTDIR and the function returned an empty string? This is part of why I was having trouble yesterday with getting SQL scripts to manually execute in an InstallScript MSI project. I followed the instructions in the help topic "Placing Files in the .msi Database and Extracting Them During Runt Time" because I thought I had to do this with an InstallScript MSI project type. As it turns out, using SUPPORTDIR as you would in a straight InstallScript project works just fine in an InstallScript MSI Project, so I am confused as to whether the on-line help is in error or this is an "undocumented feature"?
Any comments would be appreciated!
Tim
Any comments would be appreciated!
Tim
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
09:56 AM
The help topic that you mentioned talks about using the Windows Installer property SUPPORTDIR in an InstallScript custom action of an InstallScript MSI project. However, I suspect that you were using the InstallScript variable SUPPORTDIR in an InstallScript event of your InstallScript MSI project; the value of this variable would not be empty in this case. The SUPPORTDIR hyperlink in the help topic that you mentioned points to a help topic that explains the difference between the property and the variable:
SUPPORTDIR
I hope that helps.
SUPPORTDIR
I hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
10:43 AM
Thanks for the reply Debbie. Yes that helps a little bit, but I found it was fairly easy to get confused between the Windows Installer Property for SUPPORTDIR and the InstallScript variable for SUPPORTDIR in the documentation. You are correct, I was executing an Installscript event in an InstallScript MSI Project and not a Custom Action. The event executed some SQL scripts via the LaunchApplication function and a .cmd file. I had stored the .cmd file in the support files/billboard view and the scripts were not executing for a reason I still don't understand. That is when I got wrapped around the axle with using the Windows Installer Property instead of the InstallScript variable.
Thanks again for your response!
Tim
Thanks again for your response!
Tim
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)