Category Archives: CustomAction

Wix: Custom actions

      No Comments on Wix: Custom actions

Wix code for Calling the Custom Exe’s or System Build-In Exe’s for performing the Action a. Calling CACLS.exe for setting the Permissions <CustomAction Id=”NTPermission” Directory=”TARGETDIR” ExeCommand='”cacls.exe” “[TARGETDIR]*.*” /T /E /G “MyCustomUser:R”‘ Return=”check” />b. Calling CACLS.exe for Removing the Permissions<CustomAction Id=”NTPermissionUninstall” Directory=”TARGETDIR” ExeCommand='”cacls.exe” “[TARGETDIR]*.*” /T /E /R “MyCustomUser”‘ Return=”check” />c. Calling… Read more »