SwordPhish
SwordPhish copied to clipboard
How to compile .msi?
I need to change the swordphish icon for my company, but I'm not sure how to compile the .msi file. I loaded it into visual studio and I can compile the .dll, but I can't find a way to compile an .msi installer.
So then I installed wix and tried
candle Schillings.SwordPhish.Installer\Product.wxs
error CNDL0150 : Undefined preprocessor variable '$(var.Schillings.SwordPhish.TargetPath)'.
then I tried msbuild and I got the following error:
"C:\redacted\SwordPhish-master\Schillings.SwordPhish.Installer\Schillings.SwordPhish.Installer.wixproj" (default target) (1) ->
"C:\redacted\SwordPhish-master\Schillings.SwordPhish\Schillings.SwordPhish.csproj" (default target) (4) ->
C:\redacted\SwordPhish-master\Schillings.SwordPhish\Schillings.SwordPhish.csproj(276,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\OfficeTools\Microsoft.VisualSt
udio.Tools.Office.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
I tried installing VSTO 2012, but it keeps saying visual studio is not installed, even though it obviously is. Visual Studio Professional 2017
Thanks @passwordleak. I've managed to reproduce the error on a new system and I'll push a fix shortly.