New Post: How to install files in a folder based on custom property
Yes you have to read the reg value and set it to the INSTALLDIR property. Doing this you will mimic passing this property value from command line. Though ManagedProject.Load event is not good because...
View ArticleNew Post: How to install files in a folder based on custom property
Thank you. This is great to be able to change INSTALLDIR and this is partly what I want, however I actually wants the main files to go to %programfiles\MyCompany\MyApp and then if (7-Zip) is detected I...
View ArticleNew Post: How to install files in a folder based on custom property
Update on this. If I change the TARGETDIR property rather than the INSTALLDIR, it will let me install the files as wanted.
View ArticleNew Post: How to install files in a folder based on custom property
Then you will need to create another additional directory branch:new Dir(@"%ProgramFiles%\My Company\My Product", new File(@"..\Files\bin\MyApp.exe"), new Dir("Docs", new File("readme.txt"))), new...
View ArticleNew Post: How to install files in a folder based on custom property
> If I change the TARGETDIR property rather than the INSTALLDIR, it will let me install the files as wanted. This extra post has puzzled me. You stated that you want to control both installdir and...
View ArticleNew Post: How do I integrate WixVSExtensions library
I need to install VS project and template specific to my application. I can't figure out how to do it. Any pointers?
View ArticleNew Post: How do I integrate WixVSExtensions library
The easiest way is to create the project and fully adjust it to your needs. After that you can export it as a template: VS menu "File->Export Template". Now you have your application specific template.
View ArticleNew Post: FirewallException / Extension
Hi, I would like to use the FirewallExtension and add the firewall rules for a File added to a ManagedProject. I tried everything to no success. Any thoughts? Cheers,
View ArticleNew Post: FirewallException / Extension
Right now your best chance is to use XML injection or XmlInclude. Both techniques are demonstrated in InjectXML sample. Though I don't mind having direct support for this extension so can you please...
View ArticleNew Post: FirewallException / Extension
I 've just published prereplease NuGet package containing the initial support fro FirewallException:Install-Package WixSharp.bin -Prevar project = new Project("MyProduct", new Dir(@"%ProgramFiles%\My...
View ArticleNew Post: How to install files in a folder based on custom property
He he, I see your point and I might have been a bit too fast there :-) Sorry if I confused someone with that post, I have changed the code since that to something like the suggested. That been said, I...
View ArticleNew Post: always remove a previous version
I need to reinstall the version. I found a solution:http://stackoverflow.com/questions/11732290/how-do-i-make-a-wix-msi-always-remove-a-previous-version But I ran into a problem in Compiler.cs:1292...
View ArticleNew Post: always remove a previous version
I have added VersionRange.OnlyDetect so now you can set it if required. Though I am not sure Upgrade element it is the best way for this. This element is a way over-engineered. Even WiX team has...
View ArticleNew Post: always remove a previous version
but I need to downgrade and upgrade without exiting the installation. first uninstall the program, and then install from the installer, without checking the version.
View ArticleNew Post: NativeBootstrapper File Description
Wix Burn does not fit because it requires .NET 4.0, but my app is happy with .NET 3.5 and I am not ready to elevate that.
View ArticleNew Post: NativeBootstrapper File Description
Then you will need to work with <WixSharp>\src\NbsBuilder
View ArticleNew Post: NativeBootstrapper File Description
Yes, I already tried that and nbs.exe is compiled successfully with the specified properties(copyright, version, etc.) but nsbuilder.exe produces the error Error 6 error LNK1104: cannot open file...
View ArticleNew Post: Odd Bootstrapper Behavior
In our silent bootstrapper, we noticed that on some machines the build generates a working setup, but that on some machines it does not. After searching through logs, the difference was found to be...
View ArticleNew Post: Func and ProgressTextAttribute for ManagedAction
Как насчет того чтобы создать конструктор для ManagedAction:public ManagedAction(Func<Session, ActionResult> funcName, ....)который берет имя метода и вызывает базовый конструктор напримерnew...
View ArticleNew Post: Absolute path
I still have the original problem(InstallDirDialog shows ABSOLUTEPATH), although am using v1.0.33.0 of WixSharp. Am I doing anything wrong? I am using the basic Custom UI template with barely any...
View Article