[WiX-users] 'Invalid character found' error while installing.

2009-08-18 Thread libin
Dear All, I got an error with message "folder path '?' contains an Invalid character" while we changed the physical address of the installation when prompted by installer .This happens only for the first time the location is changed and this appears only on vista. This is actually not proving cos

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Peter Shirtcliffe
I would guess that dark has remove the old MSI Product code and inserted a placeholder to force you to change the Product code when you compile a new product. Regardless of why its doing that, to fix it just generate a guid then find the strings "GUID HERE" and "SAME GUID HERE" and replace those s

Re: [WiX-users] Simplest case of using Heat?

2009-08-18 Thread Paul Crowley
DEXK JAHN, GXbor wrote: > As far as I can see, the simplest case is that you have to deploy, say, 150 > files and you don't feel like authoring the necessary WiX source for all of > them manually: File tags, components, GUIDs, the works. Heat creates all that > for you and then you keep on using

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Tasneem Jappie
I put those strings there, in fact there already are GUIDS in those locations, the same one. Any other suggestions? -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 18 August 2009 09:16 To: General discussion for Windows Installer XML toolset. Subject: Re: [

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Peter Shirtcliffe
Im not sure how you could get those errors if you have replaced those strings. Have you tried cleaning the intermediate files (*.wixobj), any extra copies of the source code and rebuilding, just to be sure ? Other than that, could you post some source code around the element and around the lines

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Simon Dahlbacka
On Tue, Aug 18, 2009 at 12:35 PM, Tasneem Jappie < tasneem.jap...@pinesoft.co.uk> wrote: > I put those strings there, in fact there already are GUIDS in those > locations, the same one. > > Any other suggestions? > you are missing the custom actions that was present in the old msi -Original M

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Tasneem Jappie
Hi Peter Yes, I've tried rebuilding. I've attached the wix script. Thanks! -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 18 August 2009 10:47 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] MSI to WIX for web setup com

Re: [WiX-users] Text randomly disappearing

2009-08-18 Thread Bob Arnson
David G. Hoyt wrote: > Has anyone else noticed text in dialog descriptions disappearing randomly? No. Have you seen it on any other version of Windows or MSI? (I'm wondering if it's version-specific, though I developed WixUI originally on XP/MSI 3.1, so...Video drivers are also a possibility, s

Re: [WiX-users] How best to write an msi that calls other msis?

2009-08-18 Thread Bob Arnson
Kent Cross wrote: > We have a set of 4 separate apps that currently have their own installer. We > would like to write a single installer that installs all four apps instead > of forcing our installer to click on each MSI in turn. For historical > reasons we would like to keep the individual instal

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Tasneem Jappie
Thanks Simon, how do I get them back in?! -Original Message- From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] Sent: 18 August 2009 10:47 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] MSI to WIX for web setup compiler error On Tue, Aug 18, 2009

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Bob Arnson
Tasneem Jappie wrote: > I've used dark.exe to create a wix project from a working msi for a web > service solution. I get the following two compile errors and I'm > stumped (noob), please help? > > > > Error 1 Unresolved reference to symbol > 'CustomAction:WEBCA_CreateURLs' in

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Peter Shirtcliffe
I didnt get the attachment for some reason but no matter - Simons previous suggestion is right. I was looking at the wrong part of the error. I usually know better than to try to fixing things before my second cuppa :) Search the dark output for wxs files with a element where Id="WEBCA_CreateURL

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Tasneem Jappie
Hi Uhmmm... I did in fact use the dark -x command to create the wxs file I emailed earlier, like so: C:\wix>"C:\Program Files\Windows Installer XML v3\bin\dark.exe" -x Binary MBWRSetup.msi MBWR.Wxs Also, I can't find the WiXIIsExtension documentation that was suggested by Bob. Is there perhaps

Re: [WiX-users] Passing parameters to config file from command line

2009-08-18 Thread brendan_rice
That worked a treat thanks. There was some thing weird going on with my project. All sorted now... Thanks again. Brian Rogers wrote: > > Hey Brendan, > > Try msiexec /i My.msi APPSERVER=http://pleaseWork > > Thanks, > > Brian Rogers > "Intelligence removes complexity.

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Peter Shirtcliffe
I wonder if its rather something dark cant handle or if Visual Studio has produced a buggy free MSI. Ive no experience of VS web projects so perhaps someone else here might be able to comment on how well dark handles them. It looks like others have had the same problem http://n2.nabble.com/WEBCA_Cr

Re: [WiX-users] MSI to WIX for web setup compiler error

2009-08-18 Thread Richard Hollis
It is worth noting that the MSI web setups generated by Visual Studio (I am using 2008) need "IIS6 management compatibilty" to be installed first on the target system for the MS generated MSI setups to work, if you are installing on an IIS7 system. This is one of the great things about Wix is that

Re: [WiX-users] Text randomly disappearing

2009-08-18 Thread David G. Hoyt
I don't notice it on my win forms app or any other app that's running on the same machine - so I'm fairly sure it's WiX or MSI-related and not video card/driver-related. I found out that if I just leave the dialog up and do nothing, after several seconds it'll disappear. Not all the text disappe

Re: [WiX-users] How best to write an msi that calls other msis?

2009-08-18 Thread Jason Woodall
I currently just implemented this in a simple way using setupbld.exe found in the WIX 3.0 bin directory. I use this command line in my build script: "$LOCAL_WIX3_FOLDER/setupbld.exe" -title "Group Installer" -out group_installer.exe -setup setup.exe -ms installer1.msi -ms installer2.msi setup.ex

[WiX-users] question about how RemoveExistingProducts works

2009-08-18 Thread Amy Rosewater
Hi All, I am working on a major upgrade for my installer and was wondering if anyone could tell me how the RemoveExistingProducts action actually works? Does the action use the same msi that is currently executing, or does it use the msi that the existing product was installed with? Tha

Re: [WiX-users] question about how RemoveExistingProducts works

2009-08-18 Thread Blair
It uses the cached/stripped copy of the MSI that the existing product was installed with. It works by performing the only remaining supported usage of concurrent installations. http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx http://msdn.microsoft.com/en-us/library/aa368010(VS.85).asp

[WiX-users] MsiViewModify vs. MsiSetProperty

2009-08-18 Thread Yan Sklyarenko
Hello MSI gurus, I've faced with an interesting issue, which is now a kind of academic interest for me. I had to modify the MSI tables from an immediate custom action using DTF. I was using View.Modify method with InsertTemporary option, as it is the only way to "change" the MSI database at r

[WiX-users] MSI with both 32-bit and 64-bit components

2009-08-18 Thread Arvind Aiyar
I have to create an MSI (both x86 and x64 flavors) for my team. However, I have a 32-bit ONLY component that needs to go the appropriate Program Files directory. I used the below Wix fragment and this works fine when I compile a 64bit MSI, but it errors out for 32-bit with "error LGHT0091 : Dupl

Re: [WiX-users] MsiViewModify vs. MsiSetProperty

2009-08-18 Thread Blair
Changing the database view will change all future queries into that database. Changing the current property set (which is gradually built up a query at a time) will change all future uses of that property. It is all a matter of your position in your sequence (and where the actions before and after

Re: [WiX-users] MSI with both 32-bit and 64-bit components

2009-08-18 Thread Blair
Something like this? You need just one definition for each of your directories. The rest should be references. BTW, the / around the ProgramFiles64Folder definition is optional but makes your code safer (if you reference it in your 32-bit MSI it will b

[WiX-users] How To Create a shortcut with target variable that expands when selected

2009-08-18 Thread MFranz
Hi, I have been trying to convert a setup script from a different installer to wix, everything is working except for the shortcut. I have looked at a few examples [1][2] and none of them are what I need. What I want is to have the shortcut target end up being "%JAVA_HOME%\bin\java -jar myfil

Re: [WiX-users] MsiViewModify vs. MsiSetProperty

2009-08-18 Thread Yan Sklyarenko
Thanks for the answer. The custom action was placed before CostFinalize, I didn't change this position. >> which is gradually built up a query at a time I'm not sure I understand this... could you please explain? >> It is all a matter of your position in your sequence I'm populating the Dir

Re: [WiX-users] Restart Service on Change/Repair

2009-08-18 Thread Ross H
I managed to get it prompt for restart when a change or repair is done but I would really prefer just to restart the service instead. Is it possible to do this Thanks for the help Ross H wrote: > > In my installer I install a service and optional features that use it. Is > it possible that on

Re: [WiX-users] MsiViewModify vs. MsiSetProperty

2009-08-18 Thread Blair
A debug verbose log may tell you when different properties were set, so that is a good start. It may depend on your particular version of MSI, etc. The directory table itself is resolved during CostFinalize, but any properties it makes use of may have been set before then (such as TARGETDIR/ROOTDR

Re: [WiX-users] Restart Service on Change/Repair

2009-08-18 Thread Blair
You want to restart just the service or the entire machine? You can set ServiceControl/@Start='install' & ServiceControl/@Stop='both' if you are talking about a service, but that requires you somehow cause the component containing that service to be re-installed for that to reliably work. You can

[WiX-users] WiX 3.0: Custom Action Type 50 - Read registry to uninstall the previous version of software

2009-08-18 Thread little.forest
Hi all, I'm having a problem with Custom Action Type 50 in WiX 3.0. We're using the version 3.0.4805.0. Background: === We'd like to uninstall the old version of our software when installing the new version. The old version software's installer was made by using Inno Setup. What we need