Or you can use the -b switch.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eitan Behar
Sent: Wednesday, August 20, 2008 06:21
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Dynamically Pick File Source Location
You
Hi Pavan,
If the source folder is relative to the solution/project paths, you can
indeed use a VisualStudio variable, like $(var.MyProject.TargetDir), or
$(var.SolutionDir). But, I don't see how this can help you.
You can easily create a C# program that generates the XX number, and save
it on
Hi all,
We have a requirement where Builds are getting generated in with increment
in Folder Names. (like Build001, Build002).
File Id=File1 Name=Microsoft.Ccf.Common.dll DiskId=1 Source=Build001
/
I need to make Source Dynamically pick up proper Higher Build.
How to go about it?
Thanks,
You need to use a variable to accomplish this. You have several to choose
from: environment, preprocessor, visual studio specific, etc.
If you have declared a System Environment variable SrcRootPath use:
File Source=$(env.SrcRootPath)\bin\MyClassLibrarySample.dll /
Where SrcRootPath points to
But how to you set this env variable?
I want to write a C# Custom Action. Is it possible in Custom Action to fetch
env variable and set it?
How do you declare System Environment variable?
Thanks,
Pavan
-
This SF.Net email
Hi Pavan,
How are your running the automated WIX process ? If you are just running a
batch file from DOS, use the command:
SET MyVariable=BUILD69 (or use any DOS trick to generate the number for you)
Systems like FinalBuilder, MSBuild, or BuildForge will allow you to do that
automatically.
Yo
Ok, just pass the variable to candle.exe with parameter -d
candle.exe (...) *-d*MyVar=MyValue
Then, you can access the value in wix using $(var.MyVar)
So, your batch file looks like:
Set BuildLatest=Build99
candle.exe (...) *-d*SourceForInstall=BuildLatest
light.exe (...)
And Wix, looks
Hi Eitan,
Is there any way in which BuildXX can be auto generated apart from DOS
Script?
Is it possible with Visual Studio specific Variable?
Thanks,
pavan
-
This SF.Net email is sponsored by the Moblin Your Move
8 matches
Mail list logo