[WiX-users] WIX_TEMP

2009-11-23 Thread Rahul.Ekbote
Hi all, Can any one know what is WIX_TEMP. How can we reset its value in our WIX project or it can setup only through environment window. Thanks, Rahul. -- Let Crystal Reports handle the reporting - Free Crystal

Re: [WiX-users] Install files side-by-side with a patch

2009-11-23 Thread Yan Sklyarenko
Thanks for the answer, Bob! I understand your concern. Is this variant any better: FileA.txt (the one installed by the patch) FileA.txt.old (the one with user customizations, backed up) FileB.dll (the new one installed by the patch) ? I think it can be accomplished by

[WiX-users] Reg Error code : 1334

2009-11-23 Thread Sunkesula, Srivardhan
Hi, I am using WIX 2.0. And recently we gave a service pack for the product. It was successfully installed in most of the sites. But it failed for a couple of customers with below mentioned error: Error 1334. The file 'file_acqconf_127' cannot be installed because the file

Re: [WiX-users] How to prevent %USERPROFILE% be expanded

2009-11-23 Thread Danny
Thanks Sebastian, So I guess it's impossible to do this way. Thanks, Danny -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Monday, November 23, 2009 3:02 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re:

Re: [WiX-users] Patching: weird numbers for Media.DiskId andFile.Sequence

2009-11-23 Thread Yan Sklyarenko
Any ideas? Anyone? -- Yan -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Friday, November 20, 2009 11:59 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Patching: weird numbers for Media.DiskId andFile.Sequence Hello WiX Community, I have been

Re: [WiX-users] Help with building patch

2009-11-23 Thread Peter Shirtcliffe
Is the PatchBaseLine Id in the .wxs the same as the -t argument in pyro ? It needs to be. -Original Message- From: Schmitz, John [mailto:jschm...@mediacy.com] Sent: 20 November 2009 19:11 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Help with building patch Since

[WiX-users] Hyperlink styled buttons in wix3

2009-11-23 Thread nandini sa
Hi, I have used a push button and launch the browser with a specified URL using the ShellExecute custom action. Everything works fine and the text is displayed in blue font with underline similar to a hyper link. However, the button styling is very prominent and there is nothing I could do to

Re: [WiX-users] FW: Torch error

2009-11-23 Thread Peter Shirtcliffe
The argument after -ax should be a directory path, not a file path. After that, youll need the paths of 2 msis (old and new). It looks like youre missing the -ax argument value. Example: torch.exe -t patch -xo -ax %ROOT%\Binaries -p %ROOT%\Base\fso.msi %ROOT%\Target\fso.msi -out

[WiX-users] Want to run a batfile which is bundled with msi

2009-11-23 Thread MYFLEX
How to run a batch file which is bundled with the msi. Please give sample code. -- View this message in context: http://n2.nabble.com/Want-to-run-a-batfile-which-is-bundled-with-msi-tp4050201p4050201.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Hyperlink styled buttons in wix3

2009-11-23 Thread Sebastian Brand (Instyler Software)
You can create an image that looks like a hyperlink and use that on the button. Also note, that MSI 5 supports hyperlink controls. Unfortunally it's not backward compatible, the UI cannot even be launched anymore, so the whole installation must be MSI 5 only... Best regards, Sebastian Brand

Re: [WiX-users] Reg Error code : 1334

2009-11-23 Thread Sebastian Brand (Instyler Software)
How's the service pack deployed? Is it a patch (.msp) that the user has to run manually? The 1334 error normally occurs if a file cannot be found in the source msi/cab file. I could imagine that some users are running the cached msi file instead of the original msi file to apply the patch file

Re: [WiX-users] Reg Error code : 1334

2009-11-23 Thread Sunkesula, Srivardhan
Yes, it's a patch which the user has to run manually. But I did not understand the concept of cached msi. Thanks Regards, Srivardhan. -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Monday, November 23, 2009 4:47 PM

[WiX-users] Installing a transport provider into the winsock catalog from an MSI file

2009-11-23 Thread Bruce Cran
I'm not sure this the right place to ask since I don't know if the solution is in the install logic of the INF file or the MSI file. I'm working on a winsock provider and have just finished rewriting the installation system to use DIFx from WiX 3 instead of custom code, which I hope will be more

Re: [WiX-users] Shared assemblies

2009-11-23 Thread Pally Sandher
Essentially two installers listing the same component GUID in separate locations is how things like the VC++ redistributable merge modules work. For example, your installer puts the VC++ 2008 redistributables onto a users machine. My installer then does the same. Both of our installers use the

Re: [WiX-users] Launch Condition on Unistall or Remove

2009-11-23 Thread Pally Sandher
Perhaps trying OR Installed as Blair suggested earlier might give you better results. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated

Re: [WiX-users] Upgrading

2009-11-23 Thread Pally Sandher
That's known as a Minor Update but it's only one of the available upgrade types. See http://msdn.microsoft.com/en-us/library/aa370579.aspx Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate +

Re: [WiX-users] custom action to modify a file

2009-11-23 Thread dB .
http://msiext.codeplex.com can treat your file as a template. SystemTools:TemplateFile Id=File_template_process_component Source=[#File_template] Target=[INSTALLLOCATION]File.txt ExecuteOnInstall=yes SystemTools:TemplateFileProperty Id=INSTALLLOCATION_property Name=INSTALLLOCATION

Re: [WiX-users] XML input config file

2009-11-23 Thread dB .
http://dotnetnstaller.codeplex.com can sort of do this for you. The configuration is an XML file, so you would run the installation with dotnetinstaller.exe /configfile one-box-setup.xml. The xml would know the MSI names. Alternatively this might be a useful idea to write a tool that does

Re: [WiX-users] Database Connection Dialog

2009-11-23 Thread dB .
http://msiext.codeplex.com has that for SQL server in the CommonUI extension. - SelectDbDlg - RuntimeDbCredDlg Cheers dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Jacob, Christian [mailto:cja...@toptechnologies.de] Sent: Monday, August 24, 2009 11:26

Re: [WiX-users] How to Build / Check a localhost connection with db2 odbc

2009-11-23 Thread dB .
Testing a connection involves establishing it. I am not sure about this set of CAs, but you might want to take a look at http://msiext.codeplex.com. There's a CA called ODBC_Connect and the test buttons are implemented like this: Control Id=TestButton Type=PushButton X=40 Y=215 Width=100

Re: [WiX-users] Wix and PostgreSQL

2009-11-23 Thread dB .
If you didn't get your answer for 2) yet, http://msiext.codeplex.com has a DataSource extension that has ODBC mechanisms that will work against Postgresql. Would be nice if someone contributed Postgresql-specific constructs too. Cheers dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York

Re: [WiX-users] Ping Server from dialog

2009-11-23 Thread dB .
In http://msiext.codeplex.com you'll find a custom action that can do this. TcpIp_Connect Attempts to connect to a remote server, useful for checking whether there's a listening server. See http://msdn.microsoft.com/en-us/library/ms742212(VS.85).aspx for parameter details. Parameters:

Re: [WiX-users] Installing a transport provider into the winsock catalog from an MSI file

2009-11-23 Thread dB .
I would write a deferred custom action and a wix extension. The goal would be to write Ext:WinsockProvider Id= ... / The extension would translate this into a table with all the columns and add that table to the MSI. Then you need a pair of CAs, an immediate one to evaluate properties and the

Re: [WiX-users] Hyperlink styled buttons in wix3

2009-11-23 Thread naanan
Hi Sebastian, The option sounds great but then, it is not feasible when localization is done. I am aware of hyperlink support in MSI 5, but cannot mandate MSI 5.0 version Do we have any other options? Thanks and Regards, -naanan Sebastian Brand (Instyler Software) wrote: You can create

Re: [WiX-users] verification with smoke and message filtering

2009-11-23 Thread Bob Arnson
Bill Packard wrote: All the warnings are SMOK1076 and all the errors are SMOK0204. Is this correct? From the perspective of attempting to filter specific warnings, I would have expected that each warning message would have its own id, which would then let me filter out the ICE30: target file .

Re: [WiX-users] Bug causing ICE 17 failure

2009-11-23 Thread Bob Arnson
Rob Hamflett wrote: ICE17 FAILICE Internal Error 105. API Returned: 1615. ICE17 FAILError 2228: C:\DOCUME~1\Robert\LOCALS~1\Temp\ICEA37.tmp, ControlCondition, SELECT `Dialog_`,`Control_` FROM `ControlCondition` WHERE `Dialog_`=? AND `Control_`=? AND `Action`= 'Enable' 2228 is

Re: [WiX-users] Install files side-by-side with a patch

2009-11-23 Thread Bob Arnson
Yan Sklyarenko wrote: I think it can be accomplished by populating the MoveFile table before the new files overwrite the old ones... You can try but I'd guess it will disturb MSI's algorithm for scheduling patching. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Two installers in one?

2009-11-23 Thread Bob Arnson
JKLists wrote: I have two applications, A and B. They are actually 99% the same assemblies, basically differing only in config files which dictate which classes obtain control (a very pluggable architecture). Thus we normally install all the assemblies, and pass the extra config file in the

Re: [WiX-users] Bug causing ICE 17 failure

2009-11-23 Thread Rob Hamflett
Yes, but why? It used to work fine without it. In addition to the EndDialog event I previously had a Custom Action that was launched when that button was clicked. I removed the Custom Action and the problem started appearing. There wasn't a Condition on the Control to begin with (although

Re: [WiX-users] Help with building patch

2009-11-23 Thread Schmitz, John
Yes, that's one thing that I have held constant. I think that my problem troubleshooting this is that this error has multiple possible causes, at least two as indicated by the error message quoted below. Is it possible for a future version to break these very different causes into several more

[WiX-users] Pyro error

2009-11-23 Thread Anurag Pahwa
Hi Guys, I'm getting these pyro warnings and then the error. Any ideas? pyro.exe : warning PYRO1097 : File 'FSSAClient.exe' in Component 'AdminInstall_Component' was changed, but the KeyPath file 'FSCReg.cfg' was not. This file will not be pa tched on the target system if the REINSTALLMODE

[WiX-users] IISExt Questions

2009-11-23 Thread Christopher Painter
I've started working with the IIS extension to deploy ASP.NET applications and I'm not sure I see where in the schema it allows you to specify the ASP.NET runtime version. Over the past several years I've done a lot of this type of deployment with InstallShield where I have to make sure

Re: [WiX-users] Help with building patch

2009-11-23 Thread Peter Shirtcliffe
Im not very well versed in torch and pyro so I will just post what I do to make simple msps. Perhaps having a second sample will enable you to spot the differences and commonalities. The patch is created from a pair of admin installations. This is the first hotfix for a released product.

Re: [WiX-users] Help with building patch

2009-11-23 Thread John Lister
John Schmitz wrote After having tried literally every possible combination of naming of the PatchBaseline Id, the Cabinet, the PatchFamily Id and even the files themselves, I am convinced that my error is somehow due to the second suggested cause. My later follow-on message with the subject

Re: [WiX-users] IISExt Questions

2009-11-23 Thread David Watson
Hi, Sadly I don't think there is a good way of doing this (unless its done magically in wix3.5 I have not looked at it yet). You have a choice you can run aspnet_regiis.exe from a custom action or you can add in the correct mime extensions... (this is from the wix2 script I had open, the

[WiX-users] Bootstrapper sequence in wix

2009-11-23 Thread Arun Perregatturv
I am having problem setting the bootstrapper sequence Following are the sequence I would like to set but it doesn't work that way. 1. Windows Installer 4.5 2. .NET 35 SP1 3. Crystal Reports 10 Runtime 4. SQL Server 2008 Express Here's the code for that Project DefaultTargets=Build

[WiX-users] Fonts and MergeModules

2009-11-23 Thread Matt Mitchell
Hi, I'm trying to write an installer in WiX for the first time and I have a few questions about .msms and fonts. I put the fonts I install into a merge module because they're shared across a couple of products and they hardly ever change. Was that the right way to do it or should I put them

[WiX-users] ServiceDependency and InstallUtil

2009-11-23 Thread Andy2k8
I have 2 services. An unmanaged VC++ service and a .NET service. I use serviceinstall/ and servicecontrol/ to handle the unmanaged service and InstallUtil CA to install the .NET service. How do i set the .NET service dependency to VC++ service in this scenario?? Can i do it from WiX?? Or

Re: [WiX-users] Reg Error code : 1334

2009-11-23 Thread Blair
Whenever Windows Installer installs an MSI, it writes a copy of the MSI with the cabs stripped out to its cache. Question: could you open the MSI file you previously sent your customers in Orca, then apply the patch you just built (using the menus in Orca), then navigate to the Media table, and

[WiX-users] Force upgrade of a file in the GAC regardless ofthe version number

2009-11-23 Thread Mike Dion
I have an application which needs to install new bits for Interop.FOOBARLib.DLL to the GAC. The problem is that the version number is the same as the old version and the new bits do not get written the GAC on an upgrade. We execute the RemoveExistingProducts action after the InstallFinalize

[WiX-users] Refresh dialog upon checking checkbox

2009-11-23 Thread Tom Crozier
All - Is there a way to refresh a dialog when checking a checkbox? I have a dialog with a checkbox control on it to give the user the ability to use the default options. When selected I have tried adding Publish Property to reset the other control values back to defaults as well as calling a

[WiX-users] Delta patching a very large binary file.

2009-11-23 Thread Darren Grant
Hi, I am new to WiX and MSI programming in general, coming from an imperative NSIS background where I used vpatch to apply delta patches to large ( 500-MB) binary files. Deferring to the experts out there, how do you achieve this with WiX? :) Unfortunately the files are too large for mspatchc

Re: [WiX-users] Refresh dialog upon checking checkbox

2009-11-23 Thread Richard
In article d91a1dd8a8f2ba459644b8f3b7e517ddad079cd...@exvmbx015-4.exch015.msoutlookonline.net, Tom Crozier tcroz...@rackwise.com writes: All - Is there a way to refresh a dialog when checking a checkbox? I have a dialog with a checkbox control on it to give the user the ability to

[WiX-users] CustomActionData for uninstall

2009-11-23 Thread cce91
I have successfully accessed values in a deferred CustomAction using CustomActionData, but it only works during the install. I want to do the same thing for a CustomAction that runs during uninstall, but the value of the CustomActionData is undefined. CustomAction Id=SetUnDeployParams

[WiX-users] what is a wixpdb

2009-11-23 Thread spsingam
hi I am using Wix 3.0.5419.0 with Visual Studio 2008 and Votive. I use Build, rebuild and clean often, and have come to notice that when i do regular build often, the msi does not seem to get changed correctly as the time stamp does not change. But when i do delete the contents of the release

Re: [WiX-users] CustomActionData for uninstall

2009-11-23 Thread Wilson, Phil
Because Windows doesn't preserve the values of those properties anywhere - that's up to you. Typically people save them in the registry and retrieve them with an AppSearch. Phil Wilson -Original Message- From: cce91 [mailto:ell...@nortel.com] Sent: Monday, November 23, 2009 1:55 PM

Re: [WiX-users] CustomActionData for uninstall

2009-11-23 Thread Alexander Shevchuk (Volt)
Your UnDeploy custom action does not have Execute=deferred attribute, which means it is immediate CA. -Original Message- From: cce91 [mailto:ell...@nortel.com] Sent: Monday, November 23, 2009 1:55 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CustomActionData for

Re: [WiX-users] Delta patching a very large binary file.

2009-11-23 Thread Blair
Were you able to supply mspatchc with the symbols file (*.pdb) for the binary? It is documented to be able to better compress files when the PDB is supplied. I don't know what definition of better they mean, but you could try it both ways (with and without the PDBs). Unfortunately Windows

Re: [WiX-users] Delta patching a very large binary file.

2009-11-23 Thread Blair
One additional question: are the binary files PE or PE+? mspatchc/mspatcha are documented to work better with 32-bit (PE) than 64-bit (PE+) files. -Original Message- From: Blair [mailto:os...@live.com] Sent: Monday, November 23, 2009 6:43 PM To: 'General discussion for Windows Installer

Re: [WiX-users] Upgrading

2009-11-23 Thread Blair
To do major upgrade (from that web page Pally supplied) you would need to either remove the OnlyDetect attribute or change its value to no AND change the Product Id between builds/releases. -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Monday, November 23,

Re: [WiX-users] Launch Condition on Unistall or Remove

2009-11-23 Thread Blair
What is your entire condition? -Original Message- From: spsingam [mailto:siva.poobalasin...@gmail.com] Sent: Sunday, November 22, 2009 9:23 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Launch Condition on Unistall or Remove hi all, well, it still does not work as

Re: [WiX-users] Shared assemblies

2009-11-23 Thread Blair
Actually, you can have two components sharing the same GUID installed into different keypaths by two different products (or any other number besides two) as long as certain very strict rules are followed: Any/all non-file resources in the component may not be removed until the last of the

Re: [WiX-users] what is a wixpdb

2009-11-23 Thread Sebastian Brand (Instyler Software)
Have you tried Clean Solution / Rebuild All? Does the Compiler output say something about unchanged project? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: spsingam

Re: [WiX-users] Patching: weird numbers for Media.DiskId andFile.Sequence

2009-11-23 Thread Blair
From: http://blogs.msdn.com/heaths/archive/2006/05/19/602133.aspx Prior to Windows Installer 2.0 you had to guarauntee uniqueness of file sequence numbers for both the installer package for all patches, but starting with Windows Installer 2.0 you need only ensure that file sequences numbers are

Re: [WiX-users] Feature selection and CustomAction commandline

2009-11-23 Thread Blair
Try changing the first line to: Property Id=SERVERVALUE Value=0 Secure=yes/ and tell us if it works. -Original Message- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Friday, November 20, 2009 10:49 AM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Supplemental shell extensions installation

2009-11-23 Thread Blair
I think you have two different issues going on here: First issue is how to package (the bitness question): Here is what I propose you consider for the bitness question (I didn't build this to verify, but it should be close): Don't include the Package/@Platform attribute. Instead, call

Re: [WiX-users] Delta patching a very large binary file.

2009-11-23 Thread Blair
PE/PE+ question is referring to the files you are trying to ship the deltas of (your huge files). PE is the 32-bit binary file format Microsoft uses for .exe, .dll, etc. files. It is also the file format used for most .NET files. PE+ is the 64-bit binary file format Microsoft uses for the same

Re: [WiX-users] WIX_TEMP

2009-11-23 Thread Blair
I suspect you have to set it before you call msbuild. It could be set anywhere it will end up in the process environment before the build starts up. -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent: Monday, November 23, 2009 12:25 AM To:

Re: [WiX-users] Question about ComponentRef in PatchFamily

2009-11-23 Thread Blair
If you are going the simple route (just one PatchFamily per MSI) then never declare any children of the PatchFamily element. When that element is empty, everything is included in that one solitary PatchFamily, and nothing is ignored (just don't ever rename that PatchFamily in any future patch, nor

Re: [WiX-users] Reg Error code : 1334

2009-11-23 Thread Sunkesula, Srivardhan
Thanks, Blair. I am not sure if I can get the required data. Your explanation is pretty clear and I will try to analyze the issue based on that. Thanks Regards, Srivardhan. -Original Message- From: Blair [mailto:os...@live.com] Sent: Monday, November 23, 2009 11:28 PM To: 'General