All an ICE is is a custom action. It takes an MSIHANDLE as the sole
parameter and returns a UINT. There's plenty of examples on custom actions.
MSDN also has information on building a CUB file - which is just an MSI file
with different tables (as documented on MSDN). It's linked along with the
MSDN link you've already supplied.

On Tue, Dec 15, 2009 at 11:03 PM, nagaram.c <[email protected]> wrote:

>  Hi,
>
>
>
> I want to know if there are any useful references where I can find some
> good example source on how to build custom ICE using C++ code, with what I
> found so far I have below knowledge
>
> - To use ocra tool for creating or adding tables to existing cub files
> (ref: http://www.windeploy.co.uk/docs/ice.pdf)
>
> - Some references in MSDN that showed a basic sample code for building
> custom ICE (http://msdn.microsoft.com/en-us/library/aa367837(VS.85).aspx)
>
> - A sample code in Jscript (
> http://www.xmission.com/~legalize/msi/rtICE01.html)
>
>
>
> I am actually trying to create a custom ICE in C++ for to check if the
> target installation folder in the msi is set to some pre-defined path (say
> C:\myprod)
>
>
>
> I would appreciate if some one can help me writing this custom ICE in C++
> code.
>
>
>
>
>
> Thanks,
>
> *Nag***
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> WiX-devs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-devs
>
>


-- 
Heath Stewart
Deployment Technologies Team, Microsoft
http://blogs.msdn.com/heaths
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to