New Post: Error18 Installer is no longer responding.
Indeed this popup happens after >30 mins of inactivity. Interestingly enough MSI runtime doesn't create any error log entry to reflect this condition. From MSI point of view everything is OK and it...
View ArticleNew Post: Placing an executable and an MSI in a bundle, in a bootstrapper
Thank you. I am a bit confused though. Do I also have to write up an XML with the Wix Tool Set to compose this code in the example you gave? I was hoping for an example with C#/WixSharp Is there an...
View ArticleNew Post: Placing an executable and an MSI in a bundle, in a bootstrapper
Indeed typically Wix# produces the all required XML behind the scene so you don't need to deal with raw XML. However if some WiX features are not supported directly then you may need to define the...
View ArticleNew Post: How to catch the OnBuildCompleted event to sign my setup file?
I need to sign (by certificate) my setup.msi file after it has been built. In Setup.cs I have next code:staticvoid Main() { ManagedProject project = CreateSetupProject();...
View ArticleNew Post: Placing an executable and an MSI in a bundle, in a bootstrapper
Thank you, again! Just one more.... is there a way to do that with the registry instead of looking for the "adobe.exe" binary that gets installed? The registry for Adobe is in the "current user"...
View ArticleNew Post: Placing an executable and an MSI in a bundle, in a bootstrapper
Yes there is a way. You will need to use RegistrySearch fragment instead of FileSearch. BTW the yesterday release has delivered AddWixFragment API. However if you are asking about the registry key that...
View ArticleNew Post: How to catch the OnBuildCompleted event to sign my setup file?
The creation of msi is not an async process. It doesn't return until the build succeeds or fails. An empty return value indicates that your build fails. Your comment "setup.msi doesn't exist" confirms...
View ArticleNew Post: How to catch the OnBuildCompleted event to sign my setup file?
An empty return value indicates that your build fails. Your comment "setup.msi doesn't exist" confirms that. But how could it be, that build doesn't fail, if the last line of my code is...
View ArticleNew Post: How to catch the OnBuildCompleted event to sign my setup file?
> But how could it be, that build doesn't fail, if the last line of my code is project.BuildMsi(), I cannot explain that. But you've seen the Wix# source code, It always wait fro WiX compiler to...
View ArticleNew Post: How to install multiple subdirectories under ProgramFiles64Folder
I have made a WixSharp 64bit installer that should install files under two different directories under "Program Files". Here is a stripped down version of the code:using System; using WixSharp; using...
View ArticleNew Post: How to install multiple subdirectories under ProgramFiles64Folder
The problem you are experiencing is caused by not having a single root installation dir. Wix# still assigns (as it always does) the INSTALLDIR to the first common parent %ProgramFiles%. However this in...
View ArticleNew Post: How to install multiple subdirectories under ProgramFiles64Folder
Thank you Oleg for the quick answer and the workaround. The real case from which the example was stripped, is an AutoCAD plugin which I'm developing which must be installed under the "Program...
View ArticleNew Post: How to catch the OnBuildCompleted event to sign my setup file?
Ok, I'll try and continue to test. Thanks
View ArticleNew Post: How to install multiple subdirectories under ProgramFiles64Folder
OK, I see. Then indeed you need to have multiple install dirs. .The problem is that you are assuming that AutoCAD is installed in ProgramFiles. But what if it's not (e.g. user changed the installdir)....
View ArticleNew Post: Rollback custom action after pressing Cancel button
I did some more tests, and here are my findings when pressing Cancel button on Progress dialog:My rollback custom actions are not executed because the referenced assemblies are not extracted from msi....
View ArticleNew Post: Attended mode takes much more time than unattended mode
Hi, I have a Managed Setup with Embedded UI, installing an application containing about 400 files. If I run the setup in attended mode, it takes 10 times more time than if I run it in silent mode. ( 7...
View ArticleNew Post: Rollback custom action after pressing Cancel button
> ...the C:\WINDOWS\Installer\MSI9D2C.tmp-\ folder is not created on disk. Yes indeed it does look like a SFXCA problem. If you really want to get at the bottom of it you may want to log the defect...
View ArticleNew Post: Attended mode takes much more time than unattended mode
It is really outside of Wix# domain :) Wix# is only responsible for authoring MSI and it cannot possibly control MSI performance at runtime. Remember Wix# is a compilation tool but not a runtime...
View ArticleNew Post: Attended mode takes much more time than unattended mode
I have tried many settings to improve the installation time. I tried <wix# samples>/Custom_UI/EmbeddedUI sample with my files, and I got the same installation time for attended and unattended...
View Article