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

New Post: Change Target Install Directory

Hi! I am using WIX# to create MSI for my project. I set the Install Dir in my code as new Dir(@"inetpub\wwwroot", getDirStructure()),. It is installing the setup files to C:\ drive in Dev environment...

View Article


New Post: Upgrading program

I just tested the GetProductCode and in my environment it works for both CPU types just fine:class Program { staticpublicvoid Main(string[] args) { var installed =...

View Article


New Post: Sending data from main function to custom dialog

Yes.var project = new Project("MyProduct", new Dir(@"%ProgramFiles%\My Company\My Product", new File(@"Files\Bin\MyApp.exe")), new Dir(@"Docs\Manual", new File(@"Files\Docs\Manual.txt") {...

View Article

New Post: Change Target Install Directory

You can set the install dir to the absolute path as in the InstallDir_AbsolutePath sample:staticpublicvoid Main() { var project = new Project("MyProduct", new Dir(@"D:\MyCompany\MyProduct", new...

View Article

New Post: Upgrading program

Thanks a lot. Is it any way to find out project GUID (UpgradeCode) if I know ProductId. I can install 2 programs with the same ProductName but different GUIDs. During the upgrading I want to detect...

View Article


New Post: Upgrading program

> Is it any way to find out project GUID (UpgradeCode) if I know ProductId. Yes there is. Have a look at Project properties. You will find that it has UpgradeCode. Checking the upgrade code of the...

View Article

New Post: Bugs in setting version

Hi, Oleg! I found 2 bugs: After project.SetVersionFrom(fileID) project.Version isn't changed, it's still 1.0.0.0 After installing in programs and features version of program is right After...

View Article

Image may be NSFW.
Clik here to view.

New Post: Bugs in setting version

It is an intended behavior. And the fact that after installing you see the correct version confirms that the feature works. SetVersionFrom isn't supposed to change the the project.Version instead it...

View Article


New Post: Can't understand that the program is uninstalling

Hi! My installer has ManagedUI. I click Remove button in MaintenanceTypeDialog. In BeforeInstall event handler e.IsUninstalling is false. Why is it false? Remove button click event handler: void...

View Article


New Post: Bugs in setting version

I use project.SetVersionFrom(fileID) After the build Wix# prints out version 1.0.0.0, it's not right.

View Article

New Post: Bugs in setting version

Correct. Section #1 in my prev post explains why project.Version is not changed during the build. If you use SetVersionFrom then Wix# is no longer responsible for setting the product version. This task...

View Article

New Post: Problem with transfering data

Hi, Oleg! I have a problem with transfering data from UIInitialized event handler to my custom dialog. static void project_UIInitialized(SetupEventArgs e) {e.Data["TEST"] = "test"; } void...

View Article

New Post: Can't understand that the program is uninstalling

Thank you for reporting this. I have created an issue report on your behalf: https://wixsharp.codeplex.com/workitem/138 It is solved in codebase right now and the fix will be available in the next...

View Article


New Post: Uninstall previous version of MSI befor installing a later one

Hi! I am using WIX# to build MSI for my Client. There is a requirement from Client that the MSI installed earlier should be uninstalled automatically while installation of a fresher MSI file i.e. the...

View Article

New Post: Problem with transfering data

Thank you. Yes it is a problem with e.Data: https://wixsharp.codeplex.com/workitem/139. e.Data dictionary was introduce as an equivalent of Session dictionary but with the ability to survive the...

View Article


New Post: Uninstall previous version of MSI befor installing a later one

Of course it's hard to comment but because ManagementObjectSearcher is using COM interface under the hood. And there can be many reasons for a failure. Let's assume that it is a problem with...

View Article

New Post: How to use the Language culture

Hi, I try to use the localize with project.Language = "fr-FR"; but it's stay in en-us. It's seems to only have the WixUI_en-us.wxl embedded in the resource How can I get the french translate to work?...

View Article


New Post: How to use the Language culture

Hi Martin, The localisation resources are not part of Wix# but WiX. Thus some specific languages may (or may not) be included into WiX distributed with Wix#. I am guessing that WiX website may have...

View Article

New Post: ExeFileShortcut set working directory to %TEMP%

I have the following code which works great to install my application. However, I need to set the shortcut to the .exe to have the working directory (or "Start in:" on shortcut properties of the icon)...

View Article

Image may be NSFW.
Clik here to view.

New Post: ExeFileShortcut set working directory to %TEMP%

There are a few things that prevents your code from working. The temporary directory WiX property name is TempFoder thus you need to encode it as below: WorkingDirectory="%TempFolder%"//or...

View Article
Browsing all 1354 articles
Browse latest View live


Latest Images

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