Forum Discussion
jellevanurk_Salland
Jan 16, 2024Copper Contributor
Obfuscation and MSIX installers using WAPP
Dear community, To keep up to date with the market, we are moving our installers to MSIX installers instead of MSI installers. We however noticed that our postbuild events that obfuscate code...
jellevanurk_Salland
Jan 22, 2024Copper Contributor
Hey Dami178 ,
do I understand correctly the following:
"Instead of postbuild obfuscating the installer, you postbuild all the projects that are used"?
If that is the case, let me explain our siutation a little more.
We have several projects for several layers in our WPF application.
ProjectX.Application --> ProjectX.Application\bin\x64\Release\net6.0\win-x64
ProjectX.Core --> ProjectX.Core\bin\x64\Release\net6.0\win-x64
ProjectX.Common --> ProjectX.Common\bin\x64\Release\net6.0\win-x64
ProjectX.GUI <- entry project --> ProjectX.GUI\bin\x64\Release\net6.0-windows\win-x64
ProjectX.Installer --> ProjectX.Installer\bin\x64\Release\ProjectX.Gui
If I understood correctly you would add a separate postbuild event to each of them and that should fix it according to you?
Kind regards,
Jelle
do I understand correctly the following:
"Instead of postbuild obfuscating the installer, you postbuild all the projects that are used"?
If that is the case, let me explain our siutation a little more.
We have several projects for several layers in our WPF application.
ProjectX.Application --> ProjectX.Application\bin\x64\Release\net6.0\win-x64
ProjectX.Core --> ProjectX.Core\bin\x64\Release\net6.0\win-x64
ProjectX.Common --> ProjectX.Common\bin\x64\Release\net6.0\win-x64
ProjectX.GUI <- entry project --> ProjectX.GUI\bin\x64\Release\net6.0-windows\win-x64
ProjectX.Installer --> ProjectX.Installer\bin\x64\Release\ProjectX.Gui
If I understood correctly you would add a separate postbuild event to each of them and that should fix it according to you?
Kind regards,
Jelle
Dami178
Jan 23, 2024Copper Contributor
1) Yes I've migrated the postbuild to the project which contains all the app source code.
2) I think that yes in this case, you will have to create several postbuilds one for each project.
Don't hesitate to install and check inside the C:\Program Files\WindowsApps\YourApp to verify that the dlls are in fact obfuscated.
Best regards,