sorry, forgot to mention it is C#, in case it helps also I'm using Wix 
3.0.4827 with VS08/Votive. Currently what happens is that the compiler 
writes out the "output" for the main app and all the plugins (that are set 
to build at that time) into a single output directory.

On your statement:

>> I think you need some makefile/nant/msbuild logic that passes defines to 
>> the compiler to get what you want.<<

So there is some way I can pass a define statement from the msbuild phase to 
the wix file to setup the constants, as needed? Would that be something I 
could do from the plugin projects so the constant would only get created if 
that project was built? Or would it have to be passed in from the Wix 
Installer Project? Also are there any samples that might help me get started 
with this? (I'm still learning how Wix works and communicates, etc... I've 
read the help but couldn't find anything related to this).

Thanks again

----- Original Message ----- 
From: "Rob Mensching" <rob.mensch...@microsoft.com>
To: "General discussion for Windows Installer XML toolset." 
<wix-users@lists.sourceforge.net>
Sent: Friday, January 02, 2009 11:29 PM
Subject: Re: [WiX-users] Determine if file exists on build machine


> There is no file searching during the build process.  Does the C++ or C# 
> or VB compiler search for things during compile?  I think you need some 
> makefile/nant/msbuild logic that passes defines to the compiler to get 
> what you want.
>
> -----Original Message-----
> From: Wayne [mailto:wjgui...@att.net]
> Sent: Friday, January 02, 2009 20:05
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Determine if file exists on build machine
>
> Our application installs a main executable with multiple plugins. Not all 
> customers get all plugins so only plugins we compile into our project 
> output folder we want to include into our installer package. So basically 
> I want to search for whatever plugins exists inside our application output 
> folder from Wix and compile those plugins (actually DLL assemblies) into 
> the installer package. I thought using if statements in Wix would work, 
> but can't seem to figure out how to search the output folder on the build 
> machine, using Wix it appears it only performs file/reg searches on the 
> target machine that the app is installed on. Is there someway I can 
> accomplish what I'm trying to do? Or will I need to write my own search 
> application and call it from some kind of custom action?
>
> Thanks for any help you can provide,
> guid
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users 


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to