New Post: Problems installing Wix#
Even when opening Command Prompt as an administrator and navigating to install.cmd, I still get an error saying 'echo off 'cscs' is not recognized as an internal or external command, operable program...
View ArticleNew Post: Problems installing Wix#
Then try to modify the install.cmd to point to the cscs.exe, which is included into downloadables. And of course ensure cscs.exe is present.
View ArticleNew Post: Problems installing Wix#
Adding the full path to cscs.exe worked thanks. Is there anything else I need to do once that has all ran?
View ArticleNew Post: Problems installing Wix#
No. That is it. As I mentioned it is not really an installation but rather a configuration. Install.cmd only executes cscs.exe to create an environment variable and nothing else. BTW, since you had...
View ArticleNew Post: Problems installing Wix#
One path is C drive, windows\system32 And the other is system32\wix_bin\bin which currently doesn't exist in system 32. Should I move the Wix files into that folder?
View ArticleNew Post: Install multiple files to multiple locations
Any example of this? For instance I would like to install:all my files in "C:\Visual Studio 2013\Projects\MyProject\bin\Release" to "%ProgramFiles%\MyCompany\MyProduct", and one configuration file from...
View ArticleNew Post: Problems installing Wix#
This is what uinstall.cmd does:envVars.SetValue("WIXSHARP_WIXDIR", Path.Combine(Environment.CurrentDirectory, "Wix_bin\\bin")); envVars.SetValue("WIXSHARP_DIR", Environment.CurrentDirectory); The paths...
View ArticleNew Post: Install multiple files to multiple locations
Most likely you will succeed if your replace "new Files(" with "new File("
View ArticleNew Post: How to Create App Pool with new credentials
Can we please have a example of creating new AppPool in IIS. Can we assign an existing AppPool to a new Website
View ArticleNew Post: How to Create App Pool with new credentials
WebAppPool does not have a comprehensive support in Wix# but you still can define it by using raw WiX attributes:new IISVirtualDir { Name = "MyWebApp", AppName = "Test", WebSite = new...
View ArticleNew Post: How to implement IIS / Website in WIX#
How to achieve this through Wix#?<DirectoryRef Id="INSTALLFOLDER"> <Component Id="DemoWebsiteAppPool" Guid="" KeyPath="yes"> <iis:WebAppPool Id="DemoWebsiteAppPool" Name="DemoWebsite"...
View ArticleNew Post: Configure a setup to install old c++ dll avoiding...
I have a setup that contains 50 old c++ dll (COM) that I need to register with regsvr32 command line. I want to avoid resiliency\advertising: when an old (COM) exe is started, I don't want that the...
View ArticleNew Post: Adding files starting with . is giving error
I have used this way to add whole web publish but it seems if there is any file starting with .(dot), gives error. new Files(@"..\OutFiles\WebPublish\*.*")
View ArticleNew Post: Adding files starting with . is giving error
If you don't need to deploy these files then use filter in the Files constructor. If you indeed need them then you need to assign an explicit Id to such file (s) as the auto-Id will be based on the...
View ArticleNew Post: How to implement IIS / Website in WIX#
The sample "setup_2.cs" yields wxs very similar to yours. It is not included into release so you need to download it from...
View ArticleNew Post: Setting directory security
I am trying to create an MSI for an Outlook add-in, which requires that the MSI creates a directory under "C:\Program Files (x86)" and grants full permissions to all users to this directory. So far I...
View ArticleNew Post: Setting directory security
The Permissions sample produces the same output and it doesn't trigger the error when running...
View ArticleNew Post: Setting directory security
I ended up doing a custom action to programmatically change the permissions. I read somewhere that PermissionEx is running under the local system account...
View Article