Hello,
I've troubles making Wix# work as I want.
What I tried was:
Another not related issue I have is that I have split my installer in two parts: A "Core" installation with small files for quick update and one which contains big files but doesn't need updates.
For the Core installation I used this to ignore everything below bigfiles:
That works but "bigfiles" itself and any other folder inside it is created (with an EmpyDirectory tag). It's only ignoring the files. Is that a bug or on purpose?
Thanks for your help.
I've troubles making Wix# work as I want.
-
Why are only a few Steps for CustomActions implemented into Wix#?
I want to run a custom action after AppSearch but there doesn't seem to be a way for that. I might be able to use the "LaunchConditions" step, too. But I wonder why that limitation is there. -
I want to create cab files but wix# itself doesn't give me a way to specify a MediaTemplate. I used the "WixSourceGenerated" event to modify the xml directly and it works, but it feels dirty.
-
I want to run a CustomAction in the InstallExecuteSequence and the InstallUISequence but it doesn't seem to work. I have set Sequence to: Sequence.InstallExecuteSequence|Sequence.InstallUISequence but it's only added to the ExecuteSequence.
What I tried was:
Actions = new WixSharp.Action[] { new SetPropertyAction(new Id("SET_INSTALLDIR"),"INSTALLDIR","[EXISTINGINSTALLDIR]",Return.ignore, When.After, Step.LaunchConditions,new Condition("NOT INSTALLDIR AND EXISTINGINSTALLDIR<>\"FALSE\""),Sequence.InstallExecuteSequence|Sequence.InstallUISequence) }, Properties = new WixSharp.Property[] { new RegValueProperty("EXISTINGINSTALLDIR", RegistryHive.LocalMachine,@"Software\MyApp","InstallDir","FALSE"), }, RegValues = new RegValue[] { new RegValue(RegistryHive.LocalMachine,@"Software\MyApp","InstallDir","[INSTALLDIR]") }
For the Core installation I used this to ignore everything below bigfiles:
new Files(source+"\\*.*", new[] { source + @"\bigfiles\**"}))
Thanks for your help.