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
- :
- Update File Costs
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
‎May 07, 2009
10:25 AM
Update File Costs
Hello,
currently I'm working on a setup project based on Installshield. The setup project itself is a basic msi package.
During the setup process im going to install a compressed file on the file system, which has to be extracted. Therefore the installation needs more space on the local file system as windows installer calcualted. Therefore I'd like to update the file costs for a specific component in order to reflect the needed space.
Regarding to http://msdn.microsoft.com/en-us/library/aa368593(VS.85).aspx I have to update the costs during the CostInitalize and the CostFinalize Action. There seem to be methods to retrieve the costs for components (MsiEnumComponentCosts). What I'm still missing the possibility to update the installation costs. What Method / Ability can be used to archive this?
Thanks in Advance
Thorsten
currently I'm working on a setup project based on Installshield. The setup project itself is a basic msi package.
During the setup process im going to install a compressed file on the file system, which has to be extracted. Therefore the installation needs more space on the local file system as windows installer calcualted. Therefore I'd like to update the file costs for a specific component in order to reflect the needed space.
Regarding to http://msdn.microsoft.com/en-us/library/aa368593(VS.85).aspx I have to update the costs during the CostInitalize and the CostFinalize Action. There seem to be methods to retrieve the costs for components (MsiEnumComponentCosts). What I'm still missing the possibility to update the installation costs. What Method / Ability can be used to archive this?
Thanks in Advance
Thorsten
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 07, 2009
10:52 AM
You can use the ReserveCost table, exposed in the Direct Editor view. The MSI help topic "ReserveCost Table" describes what to put in the different fields, essentially just the component, target, and amount of space to add...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 09, 2009
03:31 AM
The ReserveCoste Table was the missing puzzle piece.
Thank You
Thank You