[WiX-users] Wix + MSBuild + content files

2012-09-20 Thread Cristian Prieto
BindPaths was exactly what I was looking for... Thanks Cristian Prieto On Fri, Sep 21, 2012 at 3:44 PM, Rob Mensching > wrote: > Why do you want to copy your content to the obj directory? Are you > modifying the content in some way as it goes to the obj directory? If not, > I would just add

Re: [WiX-users] Does anyone have a VSIX example

2012-09-20 Thread Rob Mensching
You need a File element to carry the VSIX in the MSI. On Thu, Sep 20, 2012 at 4:18 PM, Mike Tod wrote: > I'm trying to create a MSI to support a VSIX package. > > I have not been able to find any example of how to use the VsixPackage > element shown below. > > I keep getting errors: > > Error

Re: [WiX-users] What's OptionalUpdateRegistration about?

2012-09-20 Thread Rob Mensching
It's extra data you can register in ARP. On Thu, Sep 20, 2012 at 11:52 AM, Nick Ramirez wrote: > I was curious about the *OptionalUpdateRegistration* element. Seems to have > to do with patches? So, this is for a scenario where you've grouped a > couple > of MSP files into a Bundle? > > > > -- >

Re: [WiX-users] Wix + MSBuild + content files

2012-09-20 Thread Rob Mensching
Why do you want to copy your content to the obj directory? Are you modifying the content in some way as it goes to the obj directory? If not, I would just add the content folder as a BindPath and let WiX do all the heavy lifting grabbing the content and including it into the MSI appropriately. On

Re: [WiX-users] Burn managed UI - how to cancel and rollback?

2012-09-20 Thread Kannan24
Hi Rob, Thanks for your help. Before cancel the installation, i want to conform from user with another dialog box. When i show the dialog box, the controls are not shown in the dialog box ( i think it may be threading running). Please refer the screenshot below.

[WiX-users] Conditionally displaying a custom dialog

2012-09-20 Thread Tapas Sahoo
I have an install dialog. On Install click, it does a bunch of operations. It is fine for certain operations in the installation to fail. If there is any failure, I want to display another customer dialog which just lists out the error messages and then I can click Next to go to the final insta

Re: [WiX-users] variables not working...

2012-09-20 Thread MikeGa
StevenOgilvie wrote > I have these two set: > > > > > Then this property: > Value="$(var.LogonDomainName)\$(var.LogonUserName)" /> > but when I use it at runtime I see this: > [%USERDOMAIN]\[%USERNAME] Have you tried defining the variables this way: I think you could even combine them

Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

2012-09-20 Thread Alec
I tried silently upgrading 19.0.1 on top of 18.3 with the following code snippet: NOT Installed AND NOT UPGRADINGPRODUCTCODE NOT Installed NOT Installed The log file has the following entries: Doing action: FindRelatedProducts Action start 12:01:15: FindRelatedPr

Re: [WiX-users] Wix + MSBuild + content files

2012-09-20 Thread Cristian Prieto
So, in this moment my only options would be: 1. Copy manually the bitmap files to the temporary directory where wix is compiling the msi file, probably in the BeforeBuild Target of the wixproj file. 2. Modify the wxs or wxi file where the dialog specify the images and pass a $(var.artdirectory) p

Re: [WiX-users] variables not working...

2012-09-20 Thread Hoover, Jacob
I'm trying to remember if the initial value of a property is formatted. It may be better to use a standard custom action to assign the value of the property at runtime. Ex: And then in the install UI or install execute sequence, schedule the CA. Note, there is no guarantee that those envir

Re: [WiX-users] variables not working...

2012-09-20 Thread Nick Ramirez
That %VariableName syntax, I'm not familiar with that in WiX. It reminds me of parameter values in a Windows shell script? Are you wanting to collect the domain\username from the person who launches the installer? If that's the case, if you wanted them to pass that in on the command line, you could

[WiX-users] Does anyone have a VSIX example

2012-09-20 Thread Mike Tod
I'm trying to create a MSI to support a VSIX package. I have not been able to find any example of how to use the VsixPackage element shown below. I keep getting errors: Error 1 Unresolved reference to symbol 'File:VSIXProject.vsix' in section 'Fragment:'.F:\Users\mtod\My

[WiX-users] variables not working...

2012-09-20 Thread StevenOgilvie
Hi all, I have these two set: Then this property: but when I use it at runtime I see this: [%USERDOMAIN]\[%USERNAME] thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709.html Sent from the wix-

[WiX-users] What's OptionalUpdateRegistration about?

2012-09-20 Thread Nick Ramirez
I was curious about the *OptionalUpdateRegistration* element. Seems to have to do with patches? So, this is for a scenario where you've grouped a couple of MSP files into a Bundle? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-s-OptionalUpda

Re: [WiX-users] modify XML file using utils:XmlConfig...

2012-09-20 Thread StevenOgilvie
The solution was to use XmlFile (thanks to new_s) -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/modify-XML-file-using-utils-XmlConfig-tp7580678p7580707.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

2012-09-20 Thread Alec Swan
I tried silently upgrading 19.0.1 on top of 18.3 with the following code snippet: NOT Installed AND NOT UPGRADINGPRODUCTCODE NOT Installed NOT Installed The log file has the following entries: Doing action: FindRelatedProducts Action start 12:01:15: FindRelatedPr

Re: [WiX-users] Burn standard UI .wxl

2012-09-20 Thread Peter Shirtcliffe
Perhaps we shouldn't use it then or at least we should be aware it may be changed in non-backwards compatible ways. My own theme is never going to see the light of day so I won't be irate if a future change breaks it. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com]

Re: [WiX-users] Wix + MSBuild + content files

2012-09-20 Thread Rob Mensching
Not sure Content items are supported by the wix.targets. On Wed, Sep 19, 2012 at 10:19 PM, Cristian Prieto wrote: > Hi Wix user list! > > I've been trying to solve a very small issue with a manually created Wix > proj file and resource files... > > My wixproj file (done without Visual Studio but

Re: [WiX-users] Burn standard UI .wxl

2012-09-20 Thread Rob Mensching
Note: Foundation UI was intended to be the "foundation" for the RTF and Hyperlink UI. It was not intended to be used directly by others. Sounds like Peter figured out how to make it usable. On Thu, Sep 20, 2012 at 2:45 AM, Peter Shirtcliffe wrote: > Maybe this will help. I have a foundation them

Re: [WiX-users] !(bind.FileVersion): LGHT0298 - unresolved bind-time variable

2012-09-20 Thread Rob Mensching
0. Why would it be .wsx? 1. Do you have a File with Id="PiepsDiagnosticV3.exe"? On Thu, Sep 20, 2012 at 7:53 AM, Branko Horvat wrote: > Hello, > > I am trying to bring a VS (2010) solution with one executable project and > accompanied installer to build. > It works on another machine which has t

Re: [WiX-users] Burn managed UI - how to cancel and rollback?

2012-09-20 Thread Rob Mensching
"args" is passed to you on the events. If you can return a result it has a Result property. Set the args.Result property to the Cancel enum value. On Wed, Sep 19, 2012 at 9:01 PM, Kannan24 wrote: > Hi, > > I have the same problem, can you please explain with detail? > > i.e > > how to set the ar

[WiX-users] !(bind.FileVersion): LGHT0298 - unresolved bind-time variable

2012-09-20 Thread Branko Horvat
Hello, I am trying to bring a VS (2010) solution with one executable project and accompanied installer to build. It works on another machine which has targeted .NET framework 3.5 (so x86) and which uses WiX 3.5. On my similar platform (Win 7 x64) but with .NET framework 4.0 and WiX 3.6 encounte

Re: [WiX-users] Populate a list box from a custom action

2012-09-20 Thread Christopher Painter
I have an example in C# using DTF at: http://blog.iswix.com/2008/05/how-dtf-is-going-to-help-me-become.html http://stackoverflow.com/questions/12492769/wix-remove-old-program-folder-be fore-install I know your using C++ so you'll have to look at what the underlying function is for each class/me

Re: [WiX-users] Weird behavior on conditions

2012-09-20 Thread Natalie Carr
Nelya, Thanks. I always thought it was carried out as in Order 1 Order2 etc -Original Message- From: Nelya Iva [mailto:nelya@gmail.com] Sent: 20 September 2012 14:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Weird behavior on conditions Since

Re: [WiX-users] Weird behavior on conditions

2012-09-20 Thread Nelya Iva
Since both conditions are true, then wix checks the value of "Order". Element with the higher value of 'Order' will be used. 2012/9/20 Natalie Carr > Hi, having this problem with this code: > > > >Value="DatascanPortDlg" Order="1"> > >Value="NumLoggersDlg" Order="2"> > >V

Re: [WiX-users] Populate a list box from a custom action

2012-09-20 Thread Natalie Carr
Thanks Peter..:) Il give that a go..:) -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 20 September 2012 11:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Populate a list box from a custom action Your call to wcaaddtem

[WiX-users] Weird behavior on conditions

2012-09-20 Thread Natalie Carr
Hi, having this problem with this code: The conditions are all true on the first and second functions but it always jumps to the second one rather than to the first. If I comment out the second one the first is called, I'm very confused over this..:( Kind Regards

Re: [WiX-users] Displaying a hyperlink in the install dialog

2012-09-20 Thread Tapas Sahoo
Thanks. That worked ! -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Thursday, September 20, 2012 3:56 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Displaying a hyperlink in the install dialog You need to target Win

Re: [WiX-users] Populate a list box from a custom action

2012-09-20 Thread Peter Shirtcliffe
Your call to wcaaddtemprecord looks ok. The only thing I can guess at is that you need to specify all 4 columns of the ListBox table, rather than just the 3 you have. The other difference from my code is that I also have MSIDBERROR insertError = MSIDBERROR_NOERROR; And I give &insertError a

Re: [WiX-users] Displaying a hyperlink in the install dialog

2012-09-20 Thread Peter Shirtcliffe
See the type attribute of the Control element. Hyperlinks were only introduced in Windows Installer v5 so you may not be able to use them, depending on which version of Windows Installer you're targeting. http://msdn.microsoft.com/en-us/library/windows/desktop/dd407936%28v=vs.85%29 .aspx -Ori

Re: [WiX-users] Displaying a hyperlink in the install dialog

2012-09-20 Thread Pally Sandher
You need to target Windows Installer 5.0 (which means Windows 7 and later only I'm afraid) -> http://msdn.microsoft.com/en-us/library/windows/desktop/dd407936.aspx Example code on Bob A's blog -> http://www.joyofsetup.com/2009/01/17/msi-v50-features-in-wix-v30/ Palbinder Sandher Software Plat

[WiX-users] Displaying a hyperlink in the install dialog

2012-09-20 Thread Tapas Sahoo
Hi, Is it possible to display an hyperlink in the dialog? I have some Text being displayed in the dialog box (one sample .wxs file shown below). In addition, I want to have some hyperlink also displayed. Can someone please suggest how do I go about doing that? Thanks, ~ Tapas http://schemas

[WiX-users] Populate a list box from a custom action

2012-09-20 Thread Natalie Carr
Hi I have a Custom Action in C++ that gets the Com ports of a machine and I need to get these into a listbox in my staller. I have the following but it is the wcaAddTempRecord is not working and I cannot find any good documentation on this. Thanks extern "C" UINT __stdcall GetDatascanPort(MSIHA

Re: [WiX-users] Burn standard UI .wxl

2012-09-20 Thread Peter Shirtcliffe
Maybe this will help. I have a foundation theme working and I've provided the code below, which is based on the Wix installer's own, although this is probably more than what is needed. What I suspect happens is that the ThemeFile attribute becomes a Wix variable that is referenced by the Wix-define

Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

2012-09-20 Thread Peter Shirtcliffe
One caveat if you follow Neil's advice. WixExitEarlyWithSuccess doesn't work completely seamlessly with MajorUpgrade. See http://sourceforge.net/p/wix/feature-requests/626/ The workaround is to schedule the CA yourself with this condition in the install sequences: WIX_DOWNGRADE_DETECTED -Orig

Re: [WiX-users] upgrading from 64-bit to 32-bit product leavesfiles behind

2012-09-20 Thread Peter Shirtcliffe
INI file ? Has this file changed since installed ? Are the modified and created dates still the same ? Any files modified after installation are assumed to be data that needs to be kept, and are not uninstalled. You'd need an explicit to remove it. Ideally, don't install any config files - generat