Great, txs.
For whom who is using ManagedSetup the
For whom who is using ManagedSetup the
AfterInsall
event is also mapped as a deferred custom action. Thus you can just call the following code from the event handler:staticvoid project_AfterInstall(SetupEventArgs e) { if (!e.IsUninstalling) Process.Start("attrib.exe", $"/s /h \"{session.Property("INSTALLDIR")}\""); }