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
- :
- problem with SUPPORTDIR
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
‎Jul 27, 2007
03:46 AM
Support files problem.
Can anyone give me an example of using SUPPORT FILES.
After what Exec Sequence the SUPPORTDIR is created and how can I acces a support file from a CustomAction?
Thanks
After what Exec Sequence the SUPPORTDIR is created and how can I acces a support file from a CustomAction?
Thanks
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2007
08:57 AM
What do you want to do with the support files? In some cases, using the Binary table might be more appropriate; in any case, the InstallShield help topic "SUPPORTDIR" (and the topics it links to) should help you get started.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2007
04:11 PM
Hi,
I have basic MSI project. I have included DLL file to the Support Files section (later, during install, I want to call funtions from this DLL via Custom Action).
Help say, that all support files are extracted to the folder, denoted by SUPPORTDIR variable. But in reality, I found my DLL in the TEMP \ {PRODUCT_GUID}, while SUPPORTDIR poits to another folder.
I tried to access SUPPORTDIR via MsiGetProperty, but it returns empty string.
Can anyone help me with this issue?
I have basic MSI project. I have included DLL file to the Support Files section (later, during install, I want to call funtions from this DLL via Custom Action).
Help say, that all support files are extracted to the folder, denoted by SUPPORTDIR variable. But in reality, I found my DLL in the TEMP \ {PRODUCT_GUID}, while SUPPORTDIR poits to another folder.
I tried to access SUPPORTDIR via MsiGetProperty, but it returns empty string.
Can anyone help me with this issue?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2007
05:09 PM
What does your MsiGetProperty call look like? What is the return code? A common issue is forgetting to set the buffer-size variable to a large enough number to hold the property value before calling MsiGetProperty...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 15, 2007
10:22 AM
It starts working! Do not know, what was a reason of prev problem, maybe I made a mistake in property name, passed to MsiGet....(). The buffer was initially 1024, now I've made it to be 8192. It works fine.