[WiX-users] How to distinct between Windows 7 and Windows Server 2008?

2015-01-23 Thread patrickpirzer
I have programmed a bootstrapper application with WiX 3.9 which - among others - installs IIS Express (if needed) and then activates the IIS features via a MsiPackage. In my MsiPackage i have the follwing options for Windows 8: / Property Id=DismX64

Re: [WiX-users] How to use dism.exe in WiX ExePackage for IIS feature activation?

2015-01-21 Thread patrickpirzer
Thank You Phill, but i now i have a security problem or something like that. I have made a testinstaller, which installs a simple WPF-application with a single mask. In that installer i implemented the customaction like that: Product Id=* Name=IisActivation

Re: [WiX-users] How to use dism.exe in WiX ExePackage for IIS feature activation?

2015-01-21 Thread patrickpirzer
Sorry Phill, i was a little bit misleaded by that answer from Harbinder Singh in Stackoverflow: http://stackoverflow.com/questions/24439602/wix-burn-install-iis-if-not-yet-installed/24491306#24491306 Now i found it out. The ExeCommand of my CustomAction must look like that:

[WiX-users] How to use dism.exe in WiX ExePackage for IIS feature activation?

2015-01-20 Thread patrickpirzer
I have made a bootstrapper project with WiX 3.9. In this project i install IIS Express and then i activate the IIS features. Until now i added the Dism.exe from my computer as a resource and activated the features like that: ExePackage Id='IIS_WebserverRole' DisplayName='Installing

Re: [WiX-users] What can cause an error when setting a bootstrapper variable?

2015-01-15 Thread patrickpirzer
Thank You very much Rob for that hint! Only one question left. I have now experimented with two variants to solve the problem. 1. Setting the property Hidden to no Not bad because we have to make no other changes in the variable's definition. But unfortunately the variable value will not be

[WiX-users] How to create a sql server login without creating a database?

2015-01-07 Thread patrickpirzer
I have programmed a bootstrapper-project with WiX 3.8. While the installation i want to create a sql server login with sql-authentication. So i embedded in the Product.wxs of my MSI-Project the following component. Component Id=CreateSqlLogin

Re: [WiX-users] What can cause an error when setting a bootstrapper variable?

2015-01-07 Thread patrickpirzer
Sorry Phill, i have made a copy-paste-error. Of course i defined the bundle-variable like that (type=string): Variable Name=DB_USER bal:Overridable=yes Type=string Value=default Hidden=yes/ And in my ViewModel i set

Re: [WiX-users] What can cause an error when setting a bootstrapper variable?

2014-12-21 Thread patrickpirzer
In my case, i have defined some bundle variable like this example: Variable Name=DB_USER bal:Overridable=yes Type=string Value=default Hidden=yes/ And in my GUI i set that variable: Bootstrapper.Engine.StringVariables[DB_USER] =

[WiX-users] What can cause an error when setting a bootstrapper variable?

2014-12-19 Thread patrickpirzer
I have programmed a bootstrapper-project with WiX 3.8. In the bundle i have defined a few overridable variables like this one for the name of the databaseuser: Variable Name=DB_USER bal:Overridable=yes Type=string Value=default

[WiX-users] How to create a sql server login with sqlauthorization?

2014-12-18 Thread patrickpirzer
I have programmed a bootstrapper project with WiX 3.8. In my setup i create in my MSI a new local user (if he doesn't exist). Then i'm installing (as a prerequisite) SQL Server Express and create a SQL Server instance called SQLEXPRESS. After this i want to create a SQL Server login with

Re: [WiX-users] How to install a new user?

2014-12-17 Thread patrickpirzer
Thank You very much Phill! You're absolutely right and i had totally forgotten, that there is a tiny difference between german and english OS. I always tried to add my user to the group Administrators but it had to be Administratoren. I heeded Your advice and used Your C#-code in my GUI-ViewModel

[WiX-users] How to create a SQL login?

2014-12-15 Thread patrickpirzer
I have a real big problem. I have made a bootstrapper-project with WiX 3.8, which installs the setup files on a physical drive and makes a webdeployment. My setup-files include a MDF-file with a database. As a prerequsite SQL Server Express is installed with the following InstallCommand, which

[WiX-users] How can i use variables in SqlString?

2014-12-15 Thread patrickpirzer
I want to create a new SQL Login, so i tried this with the following SqlString: Component Id=CreateUserAccount Guid=AEE91491-99FA-40A9-AB47-1E9FC2DDEF2A Directory=INSTALLDIR sql:SqlString Id=SqlLogin SQL=IF NOT

[WiX-users] How to install a new user?

2014-12-11 Thread patrickpirzer
I have made a bootstrapper-project with WiX 3.8. The chain includes the installation of the prerequisite SQL Server Express 2012. In the InstallCommand for SQL Server Express i'm using an user and his password. That user must be installed before the prerequisite, so i added to an MsiPackage, which

Re: [WiX-users] How to find out the installlocation from WiX Bootstrapper after installation?

2014-12-05 Thread patrickpirzer
Thanks a lot for Your explanations! I have defined now a property in my GUI, which contains the complete installfolder-path. That's a little bit tricky but what shall You do? Goodbye and have a nice day! Patrick -- View this message in context:

Re: [WiX-users] How to find out the installlocation from WiX Bootstrapper after installation?

2014-12-03 Thread patrickpirzer
Thank You Nick, but that's not exactly, what i need, because me and my customers are using the EXE-file, which is generated by the build of the bootstrapper-project. Is there a chance to find the path of the final installfolder by - per example - Bootstrapper.Engine.StringVariables[...]? I have

[WiX-users] How to find out the installlocation from WiX Bootstrapper after installation?

2014-12-02 Thread patrickpirzer
Hello, I have made a Bootstrapper-project in which i have defined an overridable variable for the installocation of my application. In the MsiPackage i have a hierarchy of subfolders under that installlocation. Here an example for better understanding: Fragment Id=MyFragment Directory

[WiX-users] How to install SqlLocalDb.msi in Bootstrapper?

2014-12-02 Thread patrickpirzer
Hello, I have made a Bootstrapper-project with WiX 3.8. As part of the prerequisites SQL Server LocalDb shall be Installed. At first i tried to install it with SQL Server Express by adding it to the features like that: ExePackage Id=SqlServerExpressX86

Re: [WiX-users] How to install SqlLocalDb.msi in Bootstrapper?

2014-12-02 Thread patrickpirzer
Thanks a lot! That works. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-install-SqlLocalDb-msi-in-Bootstrapper-tp7598322p7598327.html Sent from the wix-users mailing list archive at Nabble.com.