diff --git a/QuikPak/Program.cs b/QuikPak/Program.cs index 1e0aaf4..1991b9e 100644 --- a/QuikPak/Program.cs +++ b/QuikPak/Program.cs @@ -45,7 +45,7 @@ namespace QuikPak { Dirs = new[] { - new Dir(new Id("IISMain"), config.Name + "_" +config.Version.ToString() +"_Web", + new Dir(new Id("IISMain"), config.Name + "_" +config.Version +"_Web", new Files(System.IO.Path.Combine(options.Path, "**")), new File(options.Config, @@ -77,6 +77,7 @@ namespace QuikPak PreserveTempFiles = true, UpgradeCode = new Guid(config.UpgradeCode), }; + project.Certificates = new Certificate[] { new Certificate() { PFXPassword = "password", CertificatePath = @"c:\bin\a.pfx", Request = false, StoreName = StoreName.personal, StoreLocation = StoreLocation.localMachine, Name = "cert1" } }; project.Properties.Add(new Property("REINSTALLMODE", "dmus")); project.MajorUpgrade = new MajorUpgrade() { AllowDowngrades = true, Schedule = UpgradeSchedule.afterInstallInitialize }; project.MajorUpgradeStrategy = new MajorUpgradeStrategy() @@ -90,7 +91,8 @@ namespace QuikPak }, RemoveExistingProductAfter = Step.InstallInitialize }; - Compiler.BuildMsi(project); + Compiler.BuildWxs(project); + //Compiler.BuildMsi(project); } } -} \ No newline at end of file +} diff --git a/QuikPak/QuikPak.csproj b/QuikPak/QuikPak.csproj index cdc6066..d2eab33 100644 --- a/QuikPak/QuikPak.csproj +++ b/QuikPak/QuikPak.csproj @@ -35,7 +35,7 @@ - ..\packages\WixSharp.bin.1.0.35.3\lib\BootstrapperCore.dll + ..\packages\WixSharp.bin.1.3.0.0\lib\BootstrapperCore.dll True @@ -43,7 +43,7 @@ True - ..\packages\WixSharp.bin.1.0.35.3\lib\Microsoft.Deployment.WindowsInstaller.dll + ..\packages\WixSharp.bin.1.3.0.0\lib\Microsoft.Deployment.WindowsInstaller.dll True @@ -58,16 +58,16 @@ - - ..\packages\WixSharp.bin.1.0.35.3\lib\WixSharp.dll + + ..\packages\WixSharp.bin.1.3.0.0\lib\WixSharp.dll True - - ..\packages\WixSharp.bin.1.0.35.3\lib\WixSharp.Msi.dll + + ..\packages\WixSharp.bin.1.3.0.0\lib\WixSharp.Msi.dll True - - ..\packages\WixSharp.bin.1.0.35.3\lib\WixSharp.UI.dll + + ..\packages\WixSharp.bin.1.3.0.0\lib\WixSharp.UI.dll True @@ -83,13 +83,6 @@ - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + \ No newline at end of file diff --git a/QuikPak/packages.config b/QuikPak/packages.config index 3a6e6fd..b6c084c 100644 --- a/QuikPak/packages.config +++ b/QuikPak/packages.config @@ -2,6 +2,6 @@ - - + + \ No newline at end of file