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: SUPPORTDIR question
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
‎Apr 27, 2011
09:13 AM
SUPPORTDIR question
Copy pasted from my post at install forums:
So I have a basic msi project that attempts to brand a dialog (sdFinish) when it detects software it needs is currently running. It uses the following lines in setup.rul
szBmpPath = SUPPORTDIR^"MyBitmap.bmp";
DialogSetInfo(DLG_INFO_ALTIMAGE, szBmpPath, TRUE);
SdFinish(szTitle, szMsg1, szMsg2, szOpt1, szOpt2, bvOpt1, bvOpt2);
The image does not display on the left side of the dialog. So I added a print out statement to display szBmpPath so I could see where it was looking. It spit out:
C:\Documents and Settings\joeuser\Local Settings\Temp\1\{0757B7A0-6441-45DF-8C59-C0BCBF84A306}
which does contain some support files but none of the ones i have listed in the lang independent section of the support files view. Those are all found under
C:\Documents and Settings\joeuser\Local Settings\Temp\1\{E0483B0D-7801-4520-AB00-7DABDF2C2455}
So the files are getting put in a support dir just not one that can be found with the value SUPPORTDIR. Is there a way I can consistently refer to this path to find the image i need?
So I have a basic msi project that attempts to brand a dialog (sdFinish) when it detects software it needs is currently running. It uses the following lines in setup.rul
szBmpPath = SUPPORTDIR^"MyBitmap.bmp";
DialogSetInfo(DLG_INFO_ALTIMAGE, szBmpPath, TRUE);
SdFinish(szTitle, szMsg1, szMsg2, szOpt1, szOpt2, bvOpt1, bvOpt2);
The image does not display on the left side of the dialog. So I added a print out statement to display szBmpPath so I could see where it was looking. It spit out:
C:\Documents and Settings\joeuser\Local Settings\Temp\1\{0757B7A0-6441-45DF-8C59-C0BCBF84A306}
which does contain some support files but none of the ones i have listed in the lang independent section of the support files view. Those are all found under
C:\Documents and Settings\joeuser\Local Settings\Temp\1\{E0483B0D-7801-4520-AB00-7DABDF2C2455}
So the files are getting put in a support dir just not one that can be found with the value SUPPORTDIR. Is there a way I can consistently refer to this path to find the image i need?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 27, 2011
12:04 PM
So the solution to this after reading http://www.acresso.com/webdocuments/PDF/SetupExeDir.pdf and http://forum.installsite.net/index.php?sho...1&hl=supportdir
and the help related to SUPPORTDIR I used the MsiGetProperty for SUPPORTDIR and got the path where the support files I actually need reside.
I was able to replace the SUPPORTDIR ^ MyBmp.bmp with the return value and pick up the image file path properly but it still does not display.
does it need to be a certain size?
and the help related to SUPPORTDIR I used the MsiGetProperty for SUPPORTDIR and got the path where the support files I actually need reside.
I was able to replace the SUPPORTDIR ^ MyBmp.bmp with the return value and pick up the image file path properly but it still does not display.
does it need to be a certain size?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 14, 2011
07:09 PM
i also want to konw.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)