Quantcast
Channel: wixsharp Discussions Rss Feed
Browsing all 1354 articles
Browse latest View live
↧

New Post: How to specify the specific installation directory

Hi,string Path=@"%ProgramFiles%\MyCompany\MyProduct; //string Path=@"D:\MyCompany\MyProduct; var project = new Project("MyProduct", new Dir(Path, new Files(@"D:\DeployFolder\*.*")));...

View Article


New Post: How to specify the specific installation directory

Please log it as issue as it is a defect. As a quick work around use non absolute path abd substitute it with the absolute one in the WxsGenerated event handler. It will be very helpful for you if you...

View Article


New Post: Using custom tasks

Hello. First off - your project saved me hours of work - thank you! I would like to use WiX extension from within Wix#. As an example lets take this one:...

View Article

New Post: How to specify the specific installation directory

I logged the defect on your behalf: https://wixsharp.codeplex.com/workitem/35 It is fixed now and the fix will be available with the next release. Though I would appreciate if you test it prior the...

View Article

New Post: Issue using ManagedAction that references another assembly

I actually decided to automate combining the ref assemblied for given CA assembly. Starting from v1.0.19.0 there before packing the assembly Compiler will always analyse all cases of ManagedActions...

View Article


New Post: Using custom tasks

project.WixExtensions.Add(...);The above code should do the trick. Though if you just want to run some script on the target OS then with Wix# you can execute a managed action or even an external C#...

View Article

New Post: Invoking managed actions that are in another class.

I created a public static class to keep all my EventLogInstaller actions separate from setup.cs. Then I tried referencing it, using both of these methods. new...

View Article

New Post: Invoking managed actions that are in another class.

Interesting, I made the script and my external class both public static partial class Script, and msiexec still gives me the same error. They need to be in the same file to work. Bug?

View Article


New Post: Invoking managed actions that are in another class.

I upgraded to 1.0.18.0 and this problem went away. I think the assembly resolution code that you added did the trick. Thanks!

View Article


New Post: Installing Visual Studio runtime and SQL Express dependencies along...

Hi, My application depends on .Net 3.0, Visual Studio runtime and SQL Express. I'm trying to figure out how to create an MSI file that will install all those dependencies with my application. I've...

View Article

New Post: Replacing WixSharp package with WixSharp.bin in VS project

Just for information : Since it's strictly speaking not necessary to have the package WixSharp in your project when you have WixSharp.bin, I wanted to remove the WixSharp package. After removing I got...

View Article

New Post: How to create a shortcut to startup menu?

Here is the solution I found to create a shortcut in a startup folder. I use pseudo-directory %Startup% Project project = new Project("MyProject", new Dir(new Id("INSTALL_DIR"),...

View Article

New Post: How to create a shortcut to startup menu?

Sorry, my bad. I misinterpreted your question and thought you are inquiring about the shortcut in ProgramMenu. While StartupMenu requires the same technique the sample I referred to doesn't contain the...

View Article


New Post: Installing Visual Studio runtime and SQL Express dependencies along...

I wouldn't bother with MergeModules. IMO MM is a "dead end" approach for such a large dependencies as CLR and SQLServer. Consider bootstrapper.

View Article

New Post: Replacing WixSharp package with WixSharp.bin in VS project

You are absolutely correct. If you want to remove NuGet package without removing the package binaries the editing proj file manually is the way to go.

View Article


New Post: Installing Visual Studio runtime and SQL Express dependencies along...

I am actually looking at bootstrapper samples right now. Do you think it'd be possible to proceed into a silent and fully automated installation of SQL Server ? Thanks!

View Article

New Post: Installing Visual Studio runtime and SQL Express dependencies along...

Yes this is exactly what bootstrapped are for. But considering the size of your prerequisites you may (or may not) find that you are better off not using Wix# simplified bootstrapper but some full...

View Article


New Post: Updating files that are already included for the install

Currently I'm doing something like this: wixProject.SourceBaseDir = @"C:\projects\MyProject"; string targetPath = @"%ProgramFiles%\MyCompany\MyProduct"; Files files = new Files(wixProject.SourceBaseDir...

View Article

New Post: Updating files that are already included for the install

NVM this, I found the answer: wixProject.ResolveWildCards(ignoreEmptyDirectories: true) .FindFile((f) => f.Name.EndsWith("MyApp.exe")) .First() .Shortcuts = new[] { new FileShortcut("MyApp",...

View Article

New Post: Depedent DLL

In my setup, there is a requirement to install a license file into a license store. The function depends on a number of dll which are installed during the setup. My questions are: 1/ is the dll...

View Article
Browsing all 1354 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>