Hi all,

My application preallocates a bunch of disk space to use as (among other
things) a storage arena for cached files fetched over the network.  The user
can select the amount of disk space to reserve in megabytes at install
time.  Right now they just get an obscure error in their event log if they
ask to reserve too much space.

I thought maybe I could implement a check for this using ReserveCost.  But:
1. ReserveCost doesn't allow values above 2G.  A user might easily want/need
to reserve many times this amount.
2. Because these are integer and not string fields, it appears the amount of
space has to be known at MSI build time -- it can't be determined as a
function of a property?  (I have a pair of properties CFS_STORAGE_SIZE_MB
and CSC_PROXY_STORAGE_SIZE_MB that one of my UI pages allows you to set.
These values are placed in the registry.)

Is there any solution other than a custom action?  So far I've managed to
avoid going down the custom action route.

Thanks,

-- 
Matt Craighead
Founder/CEO, Conifer Systems LLC
http://www.conifersystems.com
512-772-1834
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to