I am trying to deploy a bunch of files in a directory in my MSI setup. As the files will change frequently I don't want to add the files directly but rather have a way of automatically including all files from within a directory and deploy them to a certain location.
I am using a Visual Studio Setup Project.
Anybody know how/if this is possible?
I solved the problem by a workaround:
It's simple and stable.
I did this in NSIS by generating part of my NSIS script in Perl and having a master script which included the dynamic script.
Short answer: it's definitely possible.
select the folder path and pass to this method.It will create the msi file in the order in which folder hierarchy exists.
public class InstallData { public void GetWixData(string SourcePath) { try { WixEntity[] weDir = new WixEntity[0]; weDir = BuildDirInfo(SourcePath, weDir);
public class CustomActions { [CustomAction] public static ActionResult MyAction(Session session) { MessageBox.Show("Hello World!", "Embedded Managed CA"); session.Log("Begin MyAction Hello World");
}
Using what????
WiX? InstallShield? Visual Studio? WISE? InstallAware? MSI Factory? Some other Windows Installer tool?
heat
to generate (partial) WiX sources before calling candle/light.