New Post: How to get textbox values from Custom CLR dialog and use inside...
I went through "Setup Events" static void project_Load(SetupEventArgs e) { var msi = e.MsiFile; SetEnvVersion(e.Session); //MSI doesn't preserve any e.Session properties if they are accessed from...
View ArticleNew Post: Force ScheduleReboot
Sorry, I completely puzzled by this. In my simple test (slightly modified InstallFiles) it did pop the prompt. I can only assume that the reboot is indeed is scheduled but the UI prompt is suppressed...
View ArticleNew Post: More then one Projekt as InstallerFiles
This will not work. There are quite a few wrong things with your code:As any LINQ extension method Distinct does not modify the collection. You need to reassign it. Also your Distinct will not work...
View ArticleNew Post: How to get textbox values from Custom CLR dialog and use inside...
EmbeddedUI/ManagedUI Have a look at CustomUIDialog sample. Itr shows how to set session properties aor tunneled for deferred action Data:void next_Click(object sender, EventArgs e) {...
View ArticleNew Post: More then one Projekt as InstallerFiles
Then change it to match the signature exactly:new DirFiles(@"outDir1\.*.dll", x=>ifNew(x)) //or Predicate<string> ifNew = (file)=>
View ArticleNew Post: Force ScheduleReboot
It appears to work fine (displays the "do you want to restart now or later" dialog) until I add the below code... project.ManagedUI = new ManagedUI();...
View ArticleNew Post: How to get textbox values from Custom CLR dialog and use inside...
let me rephrase my question. i am doing project.DefaultDeferredProperties += ";AppVersion"; thenprivate void Next_Click(object sender, EventArgs e) { session["AppVersion"] = comboBox1.Text; MSINext();...
View ArticleNew Post: How to get textbox values from Custom CLR dialog and use inside...
finally made it work i found CustomUIDialog inside managed setup sample. and change my project to managed one as it seems more controllable on UI. But it was not working until i changed "AppVersion" to...
View ArticleNew Post: How to get textbox values from Custom CLR dialog and use inside...
> I think my naming convention was not supported by wix? It is actually MSI (not WiX) design perl. :) If the property is to be used outside it needs to be declared as public. Makes sense, doesn't...
View ArticleNew Post: How to get textbox values from Custom CLR dialog and use inside...
And another point to remember. If you use MsiRuntime.Data then you don't need to do project.DefaultDeferredProperties as the whole MsiRuntime.Data dictionary is tunneled to the AfterInstall event...
View ArticleNew Post: Issue getting WixSharp working.
I am getting various Wix# errors even with the simplest example. About this method of setting the value of WixLocation.. I placed the files from WixSharp.1.0.44.0.7z on my box thusly: C:\Program Files...
View ArticleNew Post: "Illegal characters in path" trying to run any sample installer
Hello, thank you for creating and sharing this project. I downloaded WixSharp.1.0.44.0 today, uncompressed it and am trying to follow your tutorial, but cannot get any of the samples to work. I also...
View ArticleNew Post: "Illegal characters in path" trying to run any sample installer
Typically Wix# compiler is capable of finding WiX installation even without relying on WIXSHARP_WIXDIR variable. Though if this for whatever reason is not happening using VS templates is preferably a...
View ArticleNew Post: MSI is not created after successful build
Hi , I am using WIX # extension (WIXCustomUI) for the project for creating the MSI file.On rebuilding demo project ,MSI file will not be created in bin folder. Please have a look at the code.Both the...
View ArticleNew Post: MSI is not created after successful build
Hi , I am using WIX # extension (WIXCustomUI) for the project for creating the MSI file.On rebuilding demo project ,MSI file will not be created in bin folder. Please have a look at the code.Both the...
View ArticleNew Post: MSI is not created after successful build
After the successful build the msi file is created in the project directory. When you add NuGet package VS displayed readme.txt with the brief instructions on how to set up and build your msi:After...
View ArticleNew Post: "Illegal characters in path" trying to run any sample installer
Following your steps exactly, got me past this hurdle. Thank you!
View ArticleNew Post: How to install Start-Menu items in addition to Desktop icon ?
Hi, I am trying to follow the examples to accomplish a simple setup and am hashing about in confusion over something. I want the installer to insert into the Start Menu, within the folder for My...
View ArticleNew Post: How to install Start-Menu items in addition to Desktop icon ?
Hi James, It's hard for me to comment details of your code. I think you can get all your answers from the Samples\Shortcuts sample. It does exactly what you need. >FileShortcut and a ExeFileShortcut...
View Article