Hi,
I have a project where I am setting the InstallDir property using a ManagedAction.
This is working fine.
But how do I add files to the InstallDir folder?
This should be easy, but I haven't managed to get it right:
Flemming
I have a project where I am setting the InstallDir property using a ManagedAction.
This is working fine.
But how do I add files to the InstallDir folder?
This should be easy, but I haven't managed to get it right:
var msiProject = new Project("My App",
new Dir(@"[INSTALLDIR]",
new File(@"ClientFiles\MyClient.exe")));
msiProject.Actions.Add(new ManagedAction("SetInstalldir",
Return.check,
When.Before,
Step.InstallFiles,
Condition.Always));
Best regardsFlemming