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: MsiSummaryInfoSetProperty error code
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 29, 2009
01:49 PM
MsiSummaryInfoSetProperty error code
I'm trying to use the MsiSummaryInfoSetProperty function in an InstallScript to set the "TEMPLATE" property to "x64; 1033" in a custom action. I want to make an installation that indentifies whether or not the target machine is 64-bit or 32-bit, and then set the correct properties so the installation is performed correctly. I wrote an installscript that should check if the machine is 64-bit and then change the summary template property. Is this the correct way to go about this? When I try this method I get the error code 1780 freturned or the MsiSummaryInfoSetProperty function, but this is not one of the codes in the function reference. Does anyone know the meaning of this code?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 02, 2009
12:55 PM
No, you cannot do it this way. Once the MSI is running, its database and summary information stream are read-only. You might be able to run this code externally in a custom bootstrapper, although this could cause related problems in that any digital signatures would be invalidated. In general one needs to make two MSI packages if one wants to support 32-bit machines and also support 64-bit specific directories and/or registry.