Is it possible to read a file in a component in custom action? I tried to do 
that in custom action but the file is not copied yet when the custom action is 
run. The custom action has a sequence of 4850, right before WriteRegistryValues.

 

Thanks,

Runzhen
 
> Date: Thu, 12 Nov 2009 13:54:45 +1100
> From: sascha.beaum...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] How to read a file to a property
> 
> Hi,
> 
> I was attempting to do the same a while back, but unless it's an INI
> or XML file then you're out of luck and will need to code your own
> custom action. It was easier for us to modify the application to
> read/write to the registry and avoid text files in the future.
> 
> Sascha
> 
> 
> 2009/11/12 HuangRunzhen <h_runz...@hotmail.com>:
> >
> > Hi,
> >
> >
> >
> > I wonder if it is possible to read a .txt file into a property? I need to 
> > read this property in a custom action and encode it.
> >
> >
> >
> > Thanks,
> >
> > Runzhen
> >
> > _________________________________________________________________
> > MSN十周年庆典,查看MSN注册时间,赢取神秘大奖
> > http://10.msn.com.cn
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> > trial. Simplify your report design, integration and deployment - and focus 
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
_________________________________________________________________
MSN十周年庆典,查看MSN注册时间,赢取神秘大奖
http://10.msn.com.cn
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to