Re: [WiX-users] Bootstrapping SQL Server 2012 Express

2015-06-27 Thread Nick Ramirez
The arguments you're sending to SQL Server are a little different than the ones that I used. For example, you aren't using the SECURITYMODE or SAPWD arguments, which I think are required. Look back to that chapter and see if you are missing any arguments. Try using the code example from the

Re: [WiX-users] Bootstrapping SQL Server 2012 Express

2015-06-27 Thread Nick Ramirez
...@n2.nabble.com To: nickra...@hotmail.com Subject: Re: Bootstrapping SQL Server 2012 Express Nick Ramirez wrote Finally got it to work, after installing .NET Framework 4. I guess the SQL Server installer can't do that for itself. ;-) Must have been some missing dependency. Thanks all

Re: [WiX-users] Using Lux and Nit

2015-02-09 Thread Nick Ramirez
Lux, as I understand it, tests that a property has a particular value after a custom action has run. As far as a robust test, this is pretty weak. Setting a property is just a small part of the install process. But the sum total of an installation is to put files on the system, configure the

Re: [WiX-users] LGHT0091: Duplicate symbol error

2015-01-14 Thread Nick Ramirez
I tried something similar and it compiled okay for me. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/LGHT0091-Duplicate-symbol-error-tp7598838p7598856.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Nick Ramirez
Sounds like undocumented functionality of Melt. I don't see anything about using it that way in the WiX.chm. Also, binder variable don't solve the problem of binding the source files into the XML file. They only give you a way to list a bunch of paths to probe. So they don't replace the

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Nick Ramirez
Bind paths vs. Visual Studio project references (e.g. $(var.MyProject.TargetDir))...the latter doesn't require passing custom parameters to light. Why make the specifying of a source file more arcane with a bind paths binder variable? Especially when the use case is a patch file in the unseen

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Nick Ramirez
Ouch. So now you have to keep your old and new source files on hand. Would be nice to keep the bind-files option or work it into the wixpdb. Also, not being able to bind the files into the wixout or wixpdb means that if you move the wixout/wixpdb and then try to run Pyro against it, all the paths

Re: [WiX-users] Install Component only if multiple Features are selected

2015-01-03 Thread Nick Ramirez
You cannot check whether a condition or feature is going to be installed in a feature or component condition, since costing hasn't taken place yet. Maybe you have a very special use-case, but in most cases, you've likely got your features badly organized. With more information, we may be able to

Re: [WiX-users] File explorer dialog

2015-01-03 Thread Nick Ramirez
WiX doesn't have a UI control that will show files in a file-explorer window. You'll probably have to write a custom action that opens one. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/File-explorer-dialog-tp7598706p7598708.html Sent from the

Re: [WiX-users] Burn error with document folder on network location (works fine running only the msi)

2015-01-03 Thread Nick Ramirez
/1) First try - I have installed the file on the Document's folder and the modified it with the wix extension XmlFile.this work for coping the file but fail to modify it as reported the error that it can't find the file to modify/ Some questions I have: 1. What error are you seeing? 2. What are

Re: [WiX-users] Burn error with document folder on network location (works fine running only the msi)

2015-01-03 Thread Nick Ramirez
Okay, so it sounds like you want to: 1. Install the file to the Documents folder 2. Edit the file in place after it's been installed I've often seen people posting about having problems using XmlFile. I have always used the XmlConfig element instead and haven't had any problems. You might get

Re: [WiX-users] Install Component only if multiple Features are selected

2015-01-03 Thread Nick Ramirez
Components can also be included in more than one feature. Could you add subfeatures under your codec features? - Feature: “Core files” (required) --- Subfeature: “Codec A” (optional) -- Subfeature: “Windows Explorer integration” (optional) --- Subfeature: “Codec B” (optional) --

Re: [WiX-users] Install Component only if multiple Features are selected

2015-01-03 Thread Nick Ramirez
I forgot about it, but you may have to publish the AddLocal event. I guess it's been a little while since I thought about it, because I can't remember if you can add/remove features with a feature condition outside of the feature tree or if you have to use the AddLocal event (published by the Next

Re: [WiX-users] Installing certificate in the 'Personal' store

2014-12-31 Thread Nick Ramirez
Shouldn't need CreateFolder either. Can you use a Property to store the password? Put the Hidden attribute on it. I'd check the log after that to make sure it's hidden. I am assuming the the IisExtension hides its custom action data already (CustomAction/@HideTarget). -- View this message in

[WiX-users] WiX books $5 until Jan 6

2014-12-31 Thread Nick Ramirez
I saw this and thought I'd pass it along. Books on the Packt Publishers website are $5 until Jan 6. Includes the WiX book and the pre-release of the new WiX Cookbook. www.packtpub.com/all/?search=wix -- View this message in context:

Re: [WiX-users] Iis Schema Usage

2014-12-27 Thread Nick Ramirez
I thought it worked for me before too. But trying it again, it only associated the certificate with the Web site after I'd added a CertificateRef inside the WebSite. -- View this message in context:

Re: [WiX-users] Installing certificate in the 'Personal' store

2014-12-27 Thread Nick Ramirez
The personal store is available at localmachine too. Go to: Run - mmc - File - Add/remove snap-in - Certificates - Add... You'll see the option for Computer account and that's analogous to WiX's localmachine. It has a personal and root (aka Trusted Root Certification Authorities). Right off, I

Re: [WiX-users] XmlFile or XmlConfig in patch .msp ?

2014-12-16 Thread Nick Ramirez
Does /-ext WixUtilExtension/ work? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/XmlFile-or-XmlConfig-in-patch-msp-tp7598517p7598616.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Launch Application on Exit - with Elevated Privileges

2014-12-15 Thread Nick Ramirez
Should you do this at all? Run a configuration script after the installation? In most cases, you shouldn't. It should be part of the install. Collect all the data you need for the configuration during the UI portion of the install and then use that data in deferred custom actions during the

Re: [WiX-users] XmlFile or XmlConfig in patch .msp ?

2014-12-12 Thread Nick Ramirez
What do your calls to torch.exe and pryo.exe look like? Do they include the -ext flag for the UtilExtension? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/XmlFile-or-XmlConfig-in-patch-msp-tp7598517p7598549.html Sent from the wix-users mailing

Re: [WiX-users] Custom Actions added with a Patch are ignored during uninstall

2014-12-12 Thread Nick Ramirez
Take a look at http://msdn.microsoft.com/en-us/library/aa370739%28v=vs.85%29.aspx where it says: /The Custom Action Patch Uninstall option is not available. There is no method for marking a custom action within a patch package to be run when the patch is uninstalled because the installer does not

Re: [WiX-users] Custom Bootstrapper download and install .NET

2014-12-12 Thread Nick Ramirez
Are you handling the ResolveSource event? See: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-td7579058.html#a7579356 -- View this message in context:

Re: [WiX-users] ICE60 during install of ttf file to private folder

2014-12-12 Thread Nick Ramirez
What your WiX mark-up for the file look like? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ICE60-during-install-of-ttf-file-to-private-folder-tp7598542p7598557.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Pass value from command line to Custom action-Burn

2014-12-09 Thread Nick Ramirez
You'll want to make sure that your CA is scheduled during InstallExecuteSequence and is deferred. Then, set the CustomActionData for that CA, passing it your ENV property that way. However, since you're updating an XML file, then the UtilExtension has XML elements (XmlConfig) to do that, so you

Re: [WiX-users] How to prevent upgrade and downgrade if system depends from particular installed product version

2014-12-05 Thread Nick Ramirez
According to the documentation for the Requires elements (http://wixtoolset.org/documentation/manual/v3/xsd/dependency/requires.html), it can be put inside of a Product element. I am wondering if that's a feature that hasn't been implemented yet. What I'm saying is, it sounds like the WiX team

Re: [WiX-users] Condition problem

2014-12-05 Thread Nick Ramirez
Use a feature condition. A feature condition is where a Condition element is placed inside a Feature element. There, it can change whether or not that feature gets installed depending on if the statements evaluates to true. It does this by changing the Level of the Feature: Feature

Re: [WiX-users] multiple product codes returned from Upgrade code

2014-12-05 Thread Nick Ramirez
It looks like what you have is correct. You have a SAME_VERSION property. Although you might want to set OnlyDetect to yes if you want to keep the existing product there and not overwrite it. Then, use a launch condition to stop the new installation from going through if SAME_VERSION is found.

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

2014-12-04 Thread Nick Ramirez
A bootstrapper is just a list of install packages that are installed one after the other. So, if you had three install packages in the bootstrapper, you wouldn't have one install directory, you would have three. For example, if you bootstrapped SQL Server, the .NET framework and then your

[WiX-users] Custom Action - Should I return ActionResult.Failure or thrown an exception?

2014-12-04 Thread Nick Ramirez
I was just thinking about this: What's the best practice for a custom action that has a problem? * Catch all exceptions and return ActionResult.Failure * Allow the exception to be thrown? Maybe ActionResult.Failure should be used for non-exception failed states? Such as the user entered

Re: [WiX-users] Intellisense in Visual Studio 2013 for Wix 3.8

2014-12-03 Thread Nick Ramirez
Nope. Installing the WiX Toolset should get you all set up with VS 2013. No other setup is required. I've tried it several times and it works for me. -- View this message in context:

Re: [WiX-users] Latest build wix 3.10 visual studio 2013 problem

2014-12-03 Thread Nick Ramirez
Try posting this on the wix-devs forum. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Latest-build-wix-3-10-visual-studio-2013-problem-tp7598342p7598353.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Installation under Local User account

2014-12-03 Thread Nick Ramirez
If you want to install only for the current user, you should install to the LocalAppDataFolder instead of ProgramFilesFolder. ProgramFilesFolder requires elevated privileges since it's a machine-level folder. LocalAppDataFolder is for current-user-only installs (Package/@InstallScope = perUser)

Re: [WiX-users] Create network folder

2014-12-03 Thread Nick Ramirez
Do you mean, create a file share? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-network-folder-tp7598287p7598356.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Embedded Transforms for L10n and how to display them.

2014-12-03 Thread Nick Ramirez
How come you're using mst files for localization and not .wxl files that are built into WiX? http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/make_installer_localizable.html -- View this message in context:

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

2014-12-03 Thread Nick Ramirez
You don't need to put an Id attribute on the Fragment, it won't be used. The Id attributes of Directory elements are themselves, properties. You can see the full path to your install directory be looking at the value of the property called INSTALLDIR. You can see it in the MSI log: msiexec /i

Re: [WiX-users] Wix standard custom actions to perform AD operations

2014-12-03 Thread Nick Ramirez
WiX has a Group element in the Util Extension that can find an existing Windows group, but can't create one of any kind. Its User element can create a user, but I'm not sure if it works with AD. It has a Domain attribute, but that may only be for referencing an existing AD account. -- View this

Re: [WiX-users] Iis Schema Usage

2014-12-03 Thread Nick Ramirez
To bind the certificate to the Web site, you can do something like: iis:WebSite Id=myWebsiteElement Description=MyWebsite ConfigureIfExists=yes Directory=INSTALLFOLDER iis:WebAddress Id=myWebAddressElement Port=443 Header=mywebsite.com Secure=yes / /iis:WebSite That should go into the same

Re: [WiX-users] How to modify installation directory to append extra folder to install directory in Wxs file

2014-12-03 Thread Nick Ramirez
You're overthinking it. You can set up your Directory elements for whatever directory structure you need and wherever the user changes INSTALLFOLDER to be, its child Directory elements will follow it there. For example, if the user changes the path of INSTALLFOLDER to C:\MyStuff, they'll get: C:/

Re: [WiX-users] Intellisense in Visual Studio 2013 for Wix 3.8

2014-12-03 Thread Nick Ramirez
I would only suggest uninstalling WiX and reinstalling. For me, when I do Ctrl + SPACE, I get a list of WiX elements. I clicked just underneath the Package element in the Product.wxs file and did Ctrl + SPACE. -- View this message in context:

Re: [WiX-users] Issue with deploying MSI through SCCM and GPO

2014-12-03 Thread Nick Ramirez
This probably isn't going to be helpful because I'm not that well-versed with using Group Policy. But when I tried it once, the program ended up on a different screen that regular programs. I had to go to *Control Panel - Programs and Features - Install a program from the network*. I base this

Re: [WiX-users] Install a package and uninstall another

2014-11-05 Thread Nick Ramirez
What are you wanting to uninstall? Is it an upgrade scenario? Are you trying to replace an older version of your software with a newer version? Or are you trying to remove some other software when yours is installed? -- View this message in context:

Re: [WiX-users] FW: Correct method for modifying a built-in UI?

2014-11-05 Thread Nick Ramirez
Did you update your UIRef element to point to your new UI_Custom? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/FW-Correct-method-for-modifying-a-built-in-UI-tp7597759p7597765.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Display optional text in Exit Dialog upon ininstall

2014-11-05 Thread Nick Ramirez
I don't think the Exit dialog is going to be shown, in most cases, during an uninstall because Add/Remove Programs (Programs and Features) suppresses the UI when the user uninstalls from there. So, setting the property directly may be enough. I can't recall of the top of my head what that

Re: [WiX-users] Display optional text in Exit Dialog upon ininstall

2014-11-05 Thread Nick Ramirez
I didn't read carefully enough. You only want to display the message on uninstall. Because ARP suppresses the UI, the dialog won't be shown on uninstall. I was so close to having this work by simply adding something like that to Burn's License UI theme. Alas, even though, with Burn, that Exit

Re: [WiX-users] FW: Correct method for modifying a built-in UI?

2014-11-05 Thread Nick Ramirez
Hmm... Just to double-check: Copied the Fragment contents of WixUI_Advanced.wxs to be local to my installer project. Saved in separate wxs file 2. Renamed the UI, made the modifications I needed ---* Did you change the Id on the UI element?* 3. Copied the

Re: [WiX-users] How to include the NetFx451Redist to bootstrapper?

2014-11-05 Thread Nick Ramirez
The NetFxExtension always downloads it. To have the .NET 4.5.1 package compressed inside your bundle, you would have to write the mark-up yourself. You can use how the WiX team did it as a rough guide: http://wix.codeplex.com/SourceControl/latest#src/ext/NetFxExtension/wixlib/NetFx451.wxs

Re: [WiX-users] How to add Active Directory user into SQL server with windows authentication through WIX installer

2014-11-05 Thread Nick Ramirez
Is SQL Server already set up? When you set it up you can enable Windows authentication at that point. Otherwise, you'd have to turn it on somehow during your installation, but could be trickier. Are you installing SQL Server along with your website install? If so, turn Windows authentication on

Re: [WiX-users] FW: Correct method for modifying a built-in UI?

2014-11-05 Thread Nick Ramirez
Not sure. Now that you've moved code into a wixlib, any UIRef elements left hanging around still pointing to the old UI? It's probably something simple that I'm not thinking of. -- View this message in context:

Re: [WiX-users] Installing DirectX9 Components within a perUser MSI

2014-11-05 Thread Nick Ramirez
Is the install log showing anything helpful? You say it's a permissions issue. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installing-DirectX9-Components-within-a-perUser-MSI-tp7597763p7597775.html Sent from the wix-users mailing list archive

Re: [WiX-users] SqlDatabase does not recreate database during rollback of uninstall

2014-10-27 Thread Nick Ramirez
Thank Rob. Now I've tried the following: sql:SqlDatabase ... sql:SqlString Sequence=1 Id=sqlString_rollbackUninstall SQL=CREATE DATABASE MyDatabase RollbackOnUninstall=yes ContinueOnError=yes /

[WiX-users] The state of Update/@Location

2014-10-21 Thread Nick Ramirez
Can anyone say what the current state of the Update element that goes into a Bundle is? http://wixtoolset.org/documentation/manual/v3/xsd/wix/update.html Does it work, currently, with the standard BA? Or would someone have to write their own to take advantage of detecting an updating MSI package

Re: [WiX-users] The state of Update/@Location

2014-10-21 Thread Nick Ramirez
Thanks Jacob, that sounds like really good work on your part. I will follow the link to learn more about it, and it will be nice to eventually see that in the standard BA. -- View this message in context:

Re: [WiX-users] On uninstall, group is not removed from user

2014-10-07 Thread Nick Ramirez
Jeremiahf wrote Sorry, Thought you were trying to remove the user from the group on uninstall. Yep. That's what I'm trying to do. The LocalGroupMember element from the Community MSI Extensions does what I need. Not sure whether I should say it's a bug in the Util extension that it lacks this

Re: [WiX-users] On uninstall, group is not removed from user

2014-10-06 Thread Nick Ramirez
No need to make my own custom action. I've found that the WiX extension from the Community MSI Extensions project has an element for adding an existing user to a group that works for me. -- View this message in context:

[WiX-users] On uninstall, group is not removed from user

2014-09-27 Thread Nick Ramirez
I have the following markup to add an existing user to a group: Fragment util:Group Id=AdministratorsGroup Name=Administrators / ComponentGroup Id=ProductComponents Directory=INSTALLFOLDER Component Id=cmpExistingUser

Re: [WiX-users] How to pass data from deferred CA to rollback CA?

2014-09-10 Thread Nick Ramirez
Thanks Rob. For me, this is a thought experiment in which I was trying to learn more about rollback CAs. So, my scenario is (similar to editing an XML file with XmlFile), I wanted to install a JSON file and edit it at install-time. If the installation failed, I would rollback the file to what it

[WiX-users] Should the ActionResult from a rollback CA be ignored?

2014-09-09 Thread Nick Ramirez
The result returned by a rollback CA can be Success or Failure. But should that response be ignored by the installer? If I check it, and it is a Failure, will that prevent the installer from rolling back? -- View this message in context:

[WiX-users] How to pass data from deferred CA to rollback CA?

2014-09-09 Thread Nick Ramirez
In a deferred custom action, I am changing some text in a file. I want to be able to undo those changes in a rollback custom action. So, I'm attempting to store the original contents of the file and then set the file back to that data in the rollback CA. The place where I've tried to store the

Re: [WiX-users] How to pass data from deferred CA to rollback CA?

2014-09-09 Thread Nick Ramirez
I wasn't able to find a way to pass data from a deferred CA to a rollback CA. Nor could I access the session's database, which prevented me from storing the data in a custom table. The only way I found that worked was to store the original file in the TEMP directory and, in the rollback, restore

Re: [WiX-users] FileSharePermission - Change?

2014-08-14 Thread Nick Ramirez
A very old post, but in case anyone was wondering, to get the Change permission on a file share, use the following properties on FileSharePermission: GenericWrite=yes Traverse=yes Delete=yes GenericRead=yes -- View this message in context:

Re: [WiX-users] WIX environment variable missing from Windows 8.1

2014-07-29 Thread Nick Ramirez
I tried it again tonight and it's working just fine. The WIX variable is there. I'm not sure what happened before. But I won't worry about it. I had installed Visual Studio Express just before installing WiX (knowing that it doesn't work on Express, but wanting to make sure that it /still /doesn't

[WiX-users] WIX environment variable missing from Windows 8.1

2014-07-28 Thread Nick Ramirez
After installing WiX 3.8 on Windows 8.1, I saw that the system environment variable WIX, which is normally installed as part of the install (and still is on Windows 7), isn't set. Has anyone noticed this? -- View this message in context:

Re: [WiX-users] Bundle fails to verify signature of payload

2014-07-14 Thread Nick Ramirez
When installing the MySQL Installer MSI (it's an MSI that's trying to be a bootstrapper, but that's not the big problem at the moment with it). I'm getting the following errors: Failed authenticode verification of payload: C:\Users\Nicholas\AppData\Local\Package

Re: [WiX-users] Bundle fails to verify signature of payload

2014-07-14 Thread Nick Ramirez
Well then that is weird then because when I look at the Digital Signatures tab of the MSI, it says it's been signed by Oracle America, Inc. and that This digital signature is OK. Maybe Windows 8.1 has a different way of seeing things. Or maybe it couldn't find its certificate chain. But I guess

Re: [WiX-users] Root ignored by util:RegistrySearch in Burn bundle

2014-07-13 Thread Nick Ramirez
Ah, I found it and it was a simple solution. I was missing the Win64 attribute on RegistrySearch, since the value is stored in the 64-bit part of the registry. -- View this message in context:

[WiX-users] Root ignored by util:RegistrySearch in Burn bundle

2014-07-12 Thread Nick Ramirez
I am seeing the same behavior as reported in bug 4231 (http://wixtoolset.org/issues/4231/), using WiX 3.8. The Root element of RegistrySearch is ignored. I have: Chain ExePackage Id=SQLSERVER_EXPRESS SourceFile=en_sql_server_2014_express_x64.exe

[WiX-users] FileSharePermission - only GenericAll works

2014-07-09 Thread Nick Ramirez
The util:FileSharePermission element has many attributes for setting ACLs on a file share, but none of them seem to work except for GenericAll. For example, the following code will not give the user the specified permissions: Component Id=cmpFileShare Guid={6974184A-1F4F-4FBB-ADA6-826E9C947A7C}

Re: [WiX-users] FileSharePermission - only GenericAll works

2014-07-09 Thread Nick Ramirez
Okay, I was wrong! I guess by setting only Read permission on the folder (using Read, GenericRead, and ReadPermission -- not sure yet which one is the magic one), the user is able to read the files in that folder and cannot change/modify them. I guess it works even though the checkboxes for Read

Re: [WiX-users] Building installer with WixUI_Mondo fails with culture fi-FI

2014-05-14 Thread Nick Ramirez
This .wxl file is an oddball, being the only one that I see that uses these UI elements to resize controls from a localization file. Bob Arnson wrote a blog about it here: http://www.joyofsetup.com/2012/07/14/localizing-more-than-strings-in-wix-v3-6/ And the bug that led to adding the UI

Re: [WiX-users] Problem in Getting the path of executable file and scripts in WIX Installer

2014-05-09 Thread Nick Ramirez
I don't understand. The $(var.MyProject.TargetMachine) is only used while compiling the installer and not while using the installer. After compiling the solution you should get one MSI file. You only need to deploy the MSI file to the machine where you want to install. -- View this message in

Re: [WiX-users] Permission/PermissionEx(?) Append

2014-05-08 Thread Nick Ramirez
Can you show what markup you're using now? That would make it easier to troubleshoot. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Permission-PermissionEx-Append-tp7594590p7594613.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] torch create transform

2014-05-08 Thread Nick Ramirez
As far as I know, a transform file is a file used during the patch-making process, but can't be used directly to perform a transform. It needs to be joined with a patch file. The patch file has the knowledge of what the transform applies to. Without it, I don't think Windows would know what to do

Re: [WiX-users] RemoveFolderEx really slow on large folders

2014-05-08 Thread Nick Ramirez
Is it getting hung up on something? When you uninstall with logging, does the log show anything happening that takes a long time around where it calls RemoveFiles? -- View this message in context:

Re: [WiX-users] Testing Wix FirewallException element logging question.

2014-05-08 Thread Nick Ramirez
For code suggestions, you can post to the wix-devs mailing list. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Testing-Wix-FirewallException-element-logging-question-tp7594455p7594616.html Sent from the wix-users mailing list archive at

Re: [WiX-users] How to not launch install if previous version not found?

2014-05-06 Thread Nick Ramirez
Upgrades are used to find and replace previously installed files. But if there's nothing to replace, there's nothing to say the install can't continue as a fresh install. If you need to not run the installer at all if a previous install isn't there then try using a launch condition

Re: [WiX-users] Data in custom table not being preserved for Server side actions

2014-05-06 Thread Nick Ramirez
Sorry, but I'm going to ask a few followup questions: 1. Does your custom action alter the user's computer at all? 2. I see the name NewServerInstance. Is this by any chance creating a website in IIS? 3. Is it necessary to create a custom table over using properties? -- View this message

Re: [WiX-users] Drive selection

2014-05-06 Thread Nick Ramirez
You can use a VolumeSelectCombo UI control. Control Id=myVolumeSelectCombo Type=VolumeSelectCombo Property=TARGETDIR Fixed=yes X=10 Y=10 Width=100 Height=17 Publish Property=quot;INSTALLLOCATIONquot;

Re: [WiX-users] Wix Visual Studio Unused components does not create an error

2014-05-06 Thread Nick Ramirez
This is just a guess: when you referenced one component, you created a link between the fragment and the main project. Now the linker will yell at you if it finds anything orphaned in that fragment. On the other hand, when you didn't link anything from the fragment to the project, the linker

Re: [WiX-users] Feature Dependencies

2014-05-06 Thread Nick Ramirez
So the components in FeatureC can be installed as a standalone feature, but those same components are needed by Features A and B? I'd just include the components in all three features. And don't nest Feature C inside Feature A or B. -- View this message in context:

Re: [WiX-users] Noob creating a Custom Action in Wix 3.8

2014-03-10 Thread Nick Ramirez
Is your installer installing at least one thing, such as a dummy text file? The install won't run otherwise. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Noob-creating-a-Custom-Action-in-Wix-3-8-tp7593140p7593249.html Sent from the wix-users

Re: [WiX-users] Using Fragments and Directory Structure

2014-03-07 Thread Nick Ramirez
The ComponentGroup element's Directory attribute sets where to install the components that are in that ComponentGroup. You can also set this on each Component element via the Component's Directory element. Also, many of the Windows directories are already defined for you by the WiX framework, so

Re: [WiX-users] Windows service installing from program files but not from program files (x86)

2014-03-07 Thread Nick Ramirez
You've set Win64=Yes on your components, thus marking it as a file that targets 64-bit architecture. You wouldn't install such a thing into the x86 Program Files Folder, since that folder is for 32-bit architecture files. Is your file truly compiled for x64? And if so, should it be? -- View

Re: [WiX-users] Noob creating a Custom Action in Wix 3.8

2014-03-07 Thread Nick Ramirez
Did you add an xmlns attribute on the Wix element to reference your extension's namespace? Is the XSD embedded inside the extension assembly? You can use ILDASM or ILSPY to check. -- View this message in context:

Re: [WiX-users] Case Sensitive dll name

2014-03-07 Thread Nick Ramirez
Heat generates the IDs based off the name of the file. In FileHarvester.cs, it has: if (this.setUniqueIdentifiers) { file.Id = this.Core.GenerateIdentifier(FilePrefix, (this.suppressRootDirectory) ? directoryRef.Id : directory.Id, Path.GetFileName(file.Source)); component.Id

Re: [WiX-users] Noob creating a Custom Action in Wix 3.8

2014-03-07 Thread Nick Ramirez
Are you compiling it on the command line and not in Visual Studio? If so, what's the command line you're using? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Noob-creating-a-Custom-Action-in-Wix-3-8-tp7593140p7593172.html Sent from the wix-users

Re: [WiX-users] Running an MSI twice

2014-03-07 Thread Nick Ramirez
Changing ProductCode and Version, but keeping UpgradeCode the same denotes a major upgrade of the same product. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-an-MSI-twice-tp7593163p7593173.html Sent from the wix-users mailing list

Re: [WiX-users] Noob creating a Custom Action in Wix 3.8

2014-03-07 Thread Nick Ramirez
If I'm understanding correctly, you're referring to that you see Visual Studio calling candle and light when it compiles your WiX setup project? At that time, it's calling those tools on your setup project, but your custom extension project has already been compiled. By adding a reference to it

Re: [WiX-users] How to do in wix v3.8 what setupbld.exe did

2014-03-07 Thread Nick Ramirez
Welcome! New user of Burn. Eh, I'm not sure that there's a command line that you can use to bundle everything up. But the markup for Burn can be written pretty quickly. So I guess it's more in line with how installer in WiX work -- it's XML based instead of command-line based. If you post the

Re: [WiX-users] Wix Bootstrapper is not removing older version from Control Panel/Uninstall Program

2014-03-07 Thread Nick Ramirez
I think that's how it work unless you update the Version attribute on the Bundle element and also the Version attribute on the Product element in the MSI. -- View this message in context:

Re: [WiX-users] Conditional dynamic dialogs

2014-03-07 Thread Nick Ramirez
You'll need to create all the dialogs you need, and then show them dyanmically. You can put the logic for which to show in the Next button of your dialog (using the NewDialog event with conditional logic). This logic can evaluate properties that you've set with a radio button. -- View this

Re: [WiX-users] Noob creating a Custom Action in Wix 3.8

2014-03-07 Thread Nick Ramirez
Eh, you don't have to copy it there. For me, I just don't like Browse-ing very far. So I put it somewhere I want. You can browse to wherever you would like to store your assembly. -- View this message in context:

Re: [WiX-users] Wix Bootstrapper is not removing older version from Control Panel/Uninstall Program

2014-03-07 Thread Nick Ramirez
Hmm, I don't recall having to do anything special in the custom bootstrapper to handle what gets displayed in Add/Remove Programs. I mean, you have to implement handlers for the Detec, Plan, Apply events...but if you're successfully installing and uninstalling you must be doing that. I think the

Re: [WiX-users] Noob creating a Custom Action in Wix 3.8

2014-03-07 Thread Nick Ramirez
It's a WiX thing, but a good thing. By adding a reference to the build DLL, you get the following added in the setup project's wixproj file: ItemGroup WixExtension Include=AwesomeExtension HintPathAwesomeExtension.dll/HintPath NameAwesomeExtension/Name /WixExtension

Re: [WiX-users] Wix Bootstrapper is not removing older version from Control Panel/Uninstall Program

2014-03-07 Thread Nick Ramirez
Doesn't appear to be detecting your previous install: [186C:1C04][2014-03-07T14:57:34]i101: Detected package: MyApplication1, state: Absent, cached: None [186C:1C04][2014-03-07T14:57:34]i101: Detected package: MyApplication2, state: Absent, cached: None It says that its current state is

Re: [WiX-users] Wix Bootstrapper is not removing older version from Control Panel/Uninstall Program

2014-03-07 Thread Nick Ramirez
Maybe try adding another if statement where you detect a package with PackageId of MyApplication1 -- View this message in context:

Re: [WiX-users] Wix Bootstrapper is not removing older version from Control Panel/Uninstall Program

2014-03-07 Thread Nick Ramirez
Ah, I was reading your code wrong. I was seeing an == when you have a != when checking the .NET Framework Package ID. Well, in any case, it's clearly not detecting your previous install. I'm not too sure what that could be other than that the UpgradeCode on the bundle needs to stay the same. Are

Re: [WiX-users] Wix Bootstrapper is not removing older version from Control Panel/Uninstall Program

2014-03-07 Thread Nick Ramirez
I wonder if the UpgradeCode on the bundle isn't being set properly. Does hardcoding it for the time being help? -- View this message in context:

Re: [WiX-users] Running an MSI twice

2014-03-07 Thread Nick Ramirez
Are you wanting to create a major upgrade scenario /just /to change the value of that property? If so, that's not necessary. You can dynamically update the property's value at install time, based on data your customers enter into the installer's UI or enter on the command line to run the

Re: [WiX-users] Bootstrapper Application DLL build error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows

2013-12-19 Thread Nick Ramirez
I think the easiest way to use Prism is to pull in the dependency using NuGet. The command is: Install-Package Prism You can download NuGet for Visual Studio 2010. It's an extension to Visual Studio. http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c I think that

Re: [WiX-users] running code to pick the correct msi to run

2013-12-19 Thread Nick Ramirez
You can create a custom bootstrapper application (such as by using WPF) and have that do just about anything you need. Burn has extension points for this. Curious, how come the logic needs to live on a website? Did you not want to base the language off of the user's language settings on their PC?

  1   2   3   >