Oct 16, 2008
10:35 AM
The SQLRTInitialize2() cannot be used in deferred custom actions because it needs to access to the Binary table. What are you trying to accomplish using the function?
... View more
Sep 11, 2008
07:47 AM
🙂 Function to remove occurences of certain string from end of provided string. prototype STRING TrimEnd(STRING, STRING); /// ///Removes all occcurences of the trim string at the end of original /// string. /// /// String to be trimmed at end. /// // String to be removed from the end of original string. /// function STRING TrimEnd(szString, szTrim) STRING szReturn; INT ivStartIndex; INT ivTrimLength; begin szReturn = szString; ivTrimLength = StrLength(szTrim); ivStartIndex = StrLength(szReturn) - ivTrimLength; while(StrFindEx(szReturn,szTrim, ivStartIndex) > 0) StrReplace(szReturn, szTrim,"",ivStartIndex); ivStartIndex = StrLength(szReturn) - ivTrimLength; endwhile; return szReturn; end;
... View more
Aug 29, 2008
08:56 AM
As an aside, I believe there's another example at www.installsite.org > Windows Installer > Custom Actions > Darwin Transform and Its Application in Windows Installer Custom Actions. (Standard caution about using undocumented registry keys instead of MSI API functions.)
... View more
Aug 29, 2008
09:15 AM
Given a product code GUID, the MsiGetProductInfo function (or Installer.ProductInfo in VBScript) can give you installed-product information; if you don't have a hard-coded ProductCode in mind, you can use the product code or codes obtained by the FindRelatedProducts action.
... View more
Latest posts by sachin_a_pawar
Subject | Views | Posted |
---|---|---|
542 | Oct 16, 2008 05:08 AM | |
2954 | Oct 15, 2008 07:55 AM | |
1016 | Oct 15, 2008 12:55 AM | |
838 | Sep 22, 2008 11:33 PM | |
368 | Sep 19, 2008 07:58 AM | |
538 | Sep 19, 2008 07:45 AM | |
838 | Sep 19, 2008 07:06 AM | |
437 | Sep 11, 2008 07:47 AM | |
6444 | Sep 11, 2008 07:13 AM | |
537 | Sep 04, 2008 07:45 AM |
Activity Feed
- Posted Re: Custom Action and SQLRTInitialize2 on InstallShield Forum. Oct 16, 2008 05:08 AM
- Posted Custom Action and SQLRTInitialize2 on InstallShield Forum. Oct 15, 2008 07:55 AM
- Posted Re: Major Upgrade issues on InstallShield Forum. Oct 15, 2008 12:55 AM
- Posted Re: Product Code problem! on InstallShield Forum. Sep 22, 2008 11:33 PM
- Posted Re: How to call dll which is located in [SUPPORTDIR]? on InstallShield Forum. Sep 19, 2008 07:58 AM
- Posted Re: [IS MSI] test db connection on InstallShield Forum. Sep 19, 2008 07:45 AM
- Posted Re: Product Code problem! on InstallShield Forum. Sep 19, 2008 07:06 AM
- Posted TrimEnd: removes occurences pf specified trim string from original string from end on InstallShield Forum. Sep 11, 2008 07:47 AM
- Posted TrimStart: Removes all the occurence(s) of trim string from the original string on InstallShield Forum. Sep 11, 2008 07:13 AM
- Posted Re: CustomAction Running Exe on InstallShield Forum. Sep 04, 2008 07:45 AM
- Posted Re: Asp.net WebSite Installation on InstallShield Forum. Sep 04, 2008 07:41 AM
- Posted How to genereate Compressed GUID using InstallScript on InstallShield Forum. Aug 29, 2008 02:45 AM
- Posted Re: After Major Upgrade, Multiple Entries in Add/Remove Programs on InstallShield Forum. Aug 29, 2008 02:04 AM
- Posted How can I get product version of earlier installed version during major upgrade? on InstallShield Forum. Aug 29, 2008 01:56 AM
- Posted Re: version comparison failed on InstallShield Forum. Aug 29, 2008 12:26 AM
- Posted Re: version comparison failed on InstallShield Forum. Aug 28, 2008 10:31 AM
- Posted Re: How to send custom messages to InstallShield custom dialog from an external DLL on InstallShield Forum. Jul 28, 2008 07:07 AM