Re: [WiX-users] customising dialogs
thanks. It worked. Regards, Subramanyeswari -- View this message in context: http://n2.nabble.com/customising-dialogs-tp4749910p4755860.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] installing on windows server 2008
Hi, I am attempting to build an installer which works on different operating systems. A problem I am having is to ensure on a windows 7 and win2008 server machine running IIS7, there is IIS6 compatiblity. I used the following property and condition: Property Id=IIS_METABASE_COMPAT RegistrySearch Id=CheckIISMetabase Root=HKLM Key=SOFTWARE\Microsoft\InetStp\Components Name=ADSICompatibility Type=raw / /Property Condition Message='IIS 6 Metabase Compatibility feature must be installed' ![CDATA[Installed OR ((IISMAJORVERSION=#7) And IIS_METABASE_COMPAT)]] /Condition From my understanding, the above script would check if IIS7 is there and IIS6 metabase isnt installed. This works on my windows 2008 box, but when I attempt to run the installer on a windows 2003 box with IIS6 installed, I find this condition ends up true and I get the message saying the IIs 6 Metabase Compatibility feature must be installed. What am I doing wrong? Thanks _ Do you have a story that started on Hotmail? Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] attaching sql db on win 2008 server
Hi, I have a script which attaches a database as part of the install. The script works on an XP machine and windows 2003 server, but when I try it on a windows 2008 box, I get an SQL error saying failed to eceute SQL string, error : Could not open new database 'mydb'. I think this looks like a securtiy issue, as I am placing the database files into the program files folder, and the installation directory is given networkservice user rights. How do I give the SQLServer2005MSSQLUSer access to the directory? Is this the correct way to go about this? Thanks _ Got a cool Hotmail story? Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] MaintenanceWelcomeDlg and InstallUISequence
I've found the following statement in standard WiX MaintenanceWelcomeDlg. InstallUISequence Show Dialog=MaintenanceWelcomeDlg Before=ProgressDlgInstalled AND NOT RESUME AND NOT Preselected/Show /InstallUISequence It has no attribute Overridable='yes'. I have the following problem with that. I try to remove this dialog in my WiX code in case of Patch mode (a). Also I try to add my custom PatchWelcomeDialog (b) in this case. InstallUISequence !-- *** a *** -- Show Dialog=MaintenanceWelcomeDlg Before=ProgressDlgNOT PATCH AND Installed AND NOT RESUME AND NOT Preselected/Show !-- *** b *** --Show Dialog=PatchWelcomeDlg Before=ProgressDlgPATCH AND Installed AND NOT RESUME AND NOT Preselected/Show /InstallUISequence During compile I receive the error message: The InstallUISequence table contains an action 'MaintenanceWelcomeDlg' that is declared in two different locations. Please remove one of the actions or set the Overridable='yes' attribute on one of their elements. If I remove (a) statement, I receive the following dialogs sequence when I run msp: PatchWelcomeDlg - (MaintenanceWelcomeDlg - MaintenanceTypeDlg - VerifyReadyDlg). If I set Overridable='yes' in (a) statement, I receive the following dialog sequence when I run msp: (MaintenanceWelcomeDlg - MaintenanceTypeDlg - VerifyReadyDlg) - PatchWelcomeDlg Since MaintenanceTypeDlg is called by MaintenanceWelcomeDlg and VerifyReadyDlg is called by MaintenanceTypeDlg what I need it is just to remove MaintenanceWelcomeDlg from InstallUISequence in PATCH mode. But since I can't override condition for display this dialog, I not sure, what is a way to do it? Thanks. P.S. PatchWelcomeDlg defined as following: Dialog Id=PatchWelcomeDlg Width=370 Height=270 Title=Patch*** !(loc.MaintenanceWelcomeDlg_Title) Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) Publish Property=WixUI_InstallMode Value=Repair1/Publish Publish Event=SpawnWaitDialog Value=WaitForCostingDlgCostingComplete = 1/Publish Publish Event=ReinstallMode Value=ecmus![CDATA[OutOfDiskSpace 1]]/Publish Publish Event=Reinstall Value=All![CDATA[OutOfDiskSpace 1]]/Publish Publish Event=EndDialog Value=Return![CDATA[OutOfDiskSpace 1]]/Publish Publish Event=SpawnDialog Value=OutOfRbDiskDlgOutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=P OR NOT PROMPTROLLBACKCOST)/Publish Publish Event=EndDialog Value=ReturnOutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=D/Publish Publish Event=EnableRollback Value=FalseOutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=D/Publish Publish Event=SpawnDialog Value=OutOfDiskDlg(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=F)/Publish /Control .. /Dialog -- Best Regards, Oleksandr Y. Nechyporenko Software Developer CorePartners, Inc. mail: mailto:onechypore...@gmail.com alexnc69...@gmail.com skype: AlexNc69001 ICQ: 117-504-668 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MaintenanceWelcomeDlg and InstallUISequence
Sorry, I have specified incorrect information. If I set Overridable='yes' in (a) statement or remove (a) statement, I receive the following dialog sequence when I run msp: (MaintenanceWelcomeDlg - MaintenanceTypeDlg - VerifyReadyDlg) - PatchWelcomeDlg Also I've tried describe it as follows: InstallUISequence Show Dialog=PatchWelcomeDlg Before= MaintenanceWelcomeDlg PATCH AND Installed AND NOT RESUME AND NOT Preselected/Show /InstallUISequence I've assumed that since I haven't published NewDialog event for Next button in PatchWelcomeDlg, and have published EndDialog event with value Return, it will not show MaintenanceWelcomeDlg when I click Next. But in this case I receive the following dialog sequence when I run msp: PatchWelcomeDlg - (MaintenanceWelcomeDlg - MaintenanceTypeDlg - VerifyReadyDlg). Thanks. From: Oleksandr Y. Nechyporenko [mailto:alexnc69...@gmail.com] Sent: Thursday, March 18, 2010 1:58 PM To: 'General discussion for Windows Installer XML toolset.' Subject: MaintenanceWelcomeDlg and InstallUISequence I've found the following statement in standard WiX MaintenanceWelcomeDlg. InstallUISequence Show Dialog=MaintenanceWelcomeDlg Before=ProgressDlgInstalled AND NOT RESUME AND NOT Preselected/Show /InstallUISequence It has no attribute Overridable='yes'. I have the following problem with that. I try to remove this dialog in my WiX code in case of Patch mode (a). Also I try to add my custom PatchWelcomeDialog (b) in this case. InstallUISequence !-- *** a *** -- Show Dialog=MaintenanceWelcomeDlg Before=ProgressDlgNOT PATCH AND Installed AND NOT RESUME AND NOT Preselected/Show !-- *** b *** --Show Dialog=PatchWelcomeDlg Before=ProgressDlgPATCH AND Installed AND NOT RESUME AND NOT Preselected/Show /InstallUISequence During compile I receive the error message: The InstallUISequence table contains an action 'MaintenanceWelcomeDlg' that is declared in two different locations. Please remove one of the actions or set the Overridable='yes' attribute on one of their elements. If I remove (a) statement, I receive the following dialogs sequence when I run msp: PatchWelcomeDlg - (MaintenanceWelcomeDlg - MaintenanceTypeDlg - VerifyReadyDlg). If I set Overridable='yes' in (a) statement, I receive the following dialog sequence when I run msp: (MaintenanceWelcomeDlg - MaintenanceTypeDlg - VerifyReadyDlg) - PatchWelcomeDlg Since MaintenanceTypeDlg is called by MaintenanceWelcomeDlg and VerifyReadyDlg is called by MaintenanceTypeDlg what I need it is just to remove MaintenanceWelcomeDlg from InstallUISequence in PATCH mode. But since I can't override condition for display this dialog, I not sure, what is a way to do it? Thanks. P.S. PatchWelcomeDlg defined as following: Dialog Id=PatchWelcomeDlg Width=370 Height=270 Title=Patch*** !(loc.MaintenanceWelcomeDlg_Title) Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) Publish Property=WixUI_InstallMode Value=Repair1/Publish Publish Event=SpawnWaitDialog Value=WaitForCostingDlgCostingComplete = 1/Publish Publish Event=ReinstallMode Value=ecmus![CDATA[OutOfDiskSpace 1]]/Publish Publish Event=Reinstall Value=All![CDATA[OutOfDiskSpace 1]]/Publish Publish Event=EndDialog Value=Return![CDATA[OutOfDiskSpace 1]]/Publish Publish Event=SpawnDialog Value=OutOfRbDiskDlgOutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=P OR NOT PROMPTROLLBACKCOST)/Publish Publish Event=EndDialog Value=ReturnOutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=D/Publish Publish Event=EnableRollback Value=FalseOutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=D/Publish Publish Event=SpawnDialog Value=OutOfDiskDlg(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=F)/Publish /Control .. /Dialog -- Best Regards, Oleksandr Y. Nechyporenko Software Developer CorePartners, Inc. mail: alexnc69...@gmail.com skype: AlexNc69001 ICQ: 117-504-668 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Creating ProgramMenuFolders and COM Server registration
I am creating a Wix 3.0 installer for a product and have come against a number of issues (migrating from InstallShield). I had a general look around but cant find the answers so im hoping someone can help me: 1) The doc tells me that I should have one component per file and I want to have all installation files in a single feature but then I get a warning (LGHT1076 : ICE47) that I should try and have fewer than 817 components in a feature. Why is this a bad idea? 2) I wish to create a folder structure in the start menu using the following folder structure on installation and use the statements below to do it: ProgramMenuFolder\Vendor\ApplicationName ProgramMenuFolder\Vendor\ApplicationName\Advanced Directory Id=ProgramMenuFolder Name=Programs Directory Id=StartMenuVendor Name=VendorName Directory Id=StartMenuAppName Name=AppName Component Id=StartMenuEntries Guid=... CreateFolder Directory=StartMenuXanalys / RemoveFolder Id='StartMenuAppName' On='uninstall' / RemoveFolder Id='StartMenuAppAdvanced' On='uninstall'/ RemoveFolder Id='StartMenuVendor' On='uninstall' Directory='StartMenuVendor'/ RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' Type='string' Value='' KeyPath='yes' / /Component Directory Id= StartMenuAppAdvanced Name=Advanced Component Id= StartMenuAppAdvanced Guid=... CreateFolder/ RemoveFolder Id= StartMenuAppAdvanced On='uninstall'/ /Component /Directory Directory Id=StartMenuAppAdvanced Name=Advanced / /Directory /Directory /Directory I find that the VendorName folder is not created on install and I get a compile error for the Advanced folder (presumably because it has no file elements?). Can someone tell me why the former error occurs and is there a way to force creation of a (potentially empty) folder. 3) Third issue is related to COM server registration. I have a out of process COM server implemented in a exe (e.g. app.exe) file with an external type library (e.g. app.tlb). I want this to be registered during install and unregistered during uninstall (the equivalent of app.exe /RegServer and app.exe /UnRegServer). I thought I could simply do this: /Component ... File Id=filA7723DE8CBBF678AC3819B61A67C4CD5 KeyPath=yes Source=app.exe TypeLib Id=86B995C7-EC9C-11D4-BEEA-000347024BE1 Description=Application Object Library Language=0 MajorVersion=1 MinorVersion=0 / /File /Component Where the typelib line is extracted by harvesting the entries of app.tlb using heat (and just taking the first line). This doesnt seem to work. Thanks sanjay -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Strange MSI output directory using WiX 3.5.1512.0 on Win2003 R2 SP2 Cruise Control server
Did you upgrade from 3.0 to 3.5? I had a similar problem with the targets file and it was due to it not being replaced on upgrade. I fixed it by uninstalling and reinstalling. Neil Neil Sleightholm n...@x2systems.com On 17 Mar 2010, at 13:02, Brad Cunningham b...@bradcunningham.net wrote: I just installed WiX 3.5.1512.0 onto my build server and added a new project that is using WiX to the build. I am getting strange behavior when compiling my installer. I don't see any build errors, and the MSI does get built but it is put in the wrong path. When building my release configuration the MSI is output into the following directory: MyProject\`, `bin\Release\`))`))MyProject.msi\ *NOTE*: the backticks, commas, and extra parens. This project is developed in VS2010 but targeting .NET 3.5. I narrowed the problem down to the WiX2010.targets file on the build server (C: \Program Files\MSBuild\Microsoft\WiX\v3.5\wix2010.targets) In that file I found the following property group PropertyGroup !-- Example, c:\MyProjects\MySetup\bin\debug\ -- !-- Condition intentionally omitted on this one, because it causes problems when we pick up the value of an environment variable named TargetDir -- *TargetDir Condition='$(OutDir)' != ''$([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$ (MSBuildProjectDirectory)`, `$(OutDir)`))`))/TargetDir * !-- Example, C:\MyProjects\MySetup\bin\debug\MySetup.msi -- TargetPath Condition= '$(TargetPath)' == '' $(TargetDir)$(TargetFileName)/TargetPath TargetPdbPath Condition= '$(TargetPdbPath)' == '' $(TargetDir)$(TargetPdbName)/TargetPdbPath /PropertyGroup *NOTE:* the escape sequence in the $(OutDir) condition. Also note the comment above stating the condition is intentionally omitted, However it isn't actually commented out. Either the comment is out of date or this condition should actually be commented out? The code snippet in the condition looks like powershell to me so I thought maybe it was a version issue with powershell on my build server causing the problem? I upgraded to powershell 2.0 on the server and it didn't fix the problem. Builds work correctly on my dev box (Win 7 x86 Enterprise). I am stumped at this point what is causing the issue? Any ideas? Thanks Brad Cunningham Microsoft MVP: C# http://blog.bradcunningham.net --- --- --- - Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Detect older version not working?
Surprisingly easy to do! Simply perform an: msiexec /x {GUID} -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] minor issues with WiX installer gui
thanks a lot Bob. MSI logs already surprised me in a good way so I'll need to try it out. By any chance, can you tell how to find in log, when a button (e.g. Repair) have been pressed or when did the progress dialog appeared? thanks Jacek 2010/3/18 Bob Arnson b...@joyofsetup.com On 3/17/2010 6:08 AM, Jacek Pospychała wrote: This time, it's WiX dialog. On attached screenshot you can see which exactly button is stuck. Check a verbose log and you'll see what's taking the time. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] TFS Build and WiX
Ok, So I have a preprocessor variable that I want to pass from my TFS Build process to my wix project. I don't know how to do this. I've been scouring the web and trying multiple things but can't get it to work. I have a preprocessor variable called BuildPath used throughout my main wxs file. Anyways I've been trying to set/pass through TFS Build. MSBuild Projects=$(branchSolutionRoot)\src\DeploymentServices\InstallPackage\ApacheProject.wixproj Properties=Configuration=Release; Targets=Build / This is what I currently have and works without any variables used in the wxs file. I've tried adding Properties=Configuration=Release;BuildPath=C:\ but that doesn't work. Any ideas??? The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] install SQL server with mixed mode authentication
HI, I have included SQL server 2005 express via the bootstrapper on my install. The problem I am getting is when the installation is complete, I find the website installed cannot connect to the DB and neither cna the windows service. The reason being that the server has been installed with the default windows authentication. I then have to download SQL management studio and then enable SQL Server and Windows authentication mode. The question is, can I not set this at install time, so everything just works out of the box. I have looked at SQL scripts, and they just return in errors. I have found that a command can be used when installing, but how can this be included with the bootstrapper? Thanks _ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] TFS Build and WiX
In proj file: MSBuild Projects=$(SolutionRoot)\Setup\ Setup.wixproj Properties =Configuration=Release;OutputPath=bin\Release; ProductVersion=$(ShortBuildNumber) / In wixproj file: PropertyGroup DefineConstantsProductVersion=$(ProductVersion);/DefineConstants /PropertyGroup Then in wxs file: Product Id=* Version=$(var.ProductVersion) -Original Message- From: Kerber, Cameron [mailto:cameron.ker...@philips.com] Sent: Thursday, March 18, 2010 5:44 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] TFS Build and WiX Ok, So I have a preprocessor variable that I want to pass from my TFS Build process to my wix project. I don't know how to do this. I've been scouring the web and trying multiple things but can't get it to work. I have a preprocessor variable called BuildPath used throughout my main wxs file. Anyways I've been trying to set/pass through TFS Build. MSBuild Projects=$(branchSolutionRoot)\src\DeploymentServices\InstallPackage\Apache Project.wixproj Properties=Configuration=Release; Targets=Build / This is what I currently have and works without any variables used in the wxs file. I've tried adding Properties=Configuration=Release;BuildPath=C:\ but that doesn't work. Any ideas??? The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Deleting files from all users
We have a program that produces some files (it's a cache of some info. it finds when first run) that have to be deleted when the program is either uninstalled or a new version installed. Thus, when the new version is run, it recreates the cache with the updated info. from the new version. The problem is that these files can be in any or all the user's home directories. Modifying the program in question to give it different behavior isn't an option. Is there a way to delete a folder/files from every user's home directory? I really hope I don't have to write a custom action to do it... Thanks for your help, - David Hoyt -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Service Control / Service Install Wix 3.0/3.5 ICE03 Error
Does anyone know how to get past the following error in Wix 3.0/3.5 for installing a service. The below code works fine in Wix 2.0. Has there been a major change that I am unaware of? ICE03: Invalid identifier; Table: ServiceControl, Column: ServiceControl, Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop Projects\SetupProjectService\SetupProjectService\Files.wxs:6 ICE03: Invalid identifier; Table: ServiceInstall, Column: ServiceInstall, Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop Projects\SetupProjectService\SetupProjectService\Files.wxs:7 Component Id=BuildServiceComponent Guid=470cdb65-5244-4cbd-b37f-c8a0e29a8368 File Id=BuildService.exe Name=BuildService.exe Vital=yes KeyPath=yes DiskId=1 Source=$(env._NTTREE)\winbat\BuildService.exe / File Id=BuildService.exe.config Name=BuildService.exe.config Vital=yes KeyPath=no DiskId=1 Source=$(env._NTTREE)\winbat\BuildService.exe.config / ServiceControl Id=Build Service Name=Build Service Start=install Stop=both Remove=uninstall Wait=yes/ ServiceInstall Id=Build Service Name=Build Service DisplayName=Build Service Type=ownProcess Interactive=no Start=auto ErrorControl=ignore Description=Build Service Account=LocalSystem / /Component Thank you, -Michael Schlitt -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] error PYRO0260 while building a patch
Hello All, We have RTM version of our product and we are on our way to release update1 (minor upgrade). During this period, a new component was added to the installer which also adds a new entry in DuplicateFile table. When I try to build a patch I see following error error PYRO0260 : Product '{Product code GUID }': Table 'DuplicateFile' has a new row 'smartcardappmgr_6.5.ini' added. This makes the patch not uninstallable. 1pyro.exe : error PYRO0261 : This patch is not uninstallable. The 'Patch' element's attribute 'AllowRemoval' should be set to 'no'. 1NMAKE : fatal error U1077: 'c:\public\ext\wix\wixv3\pyro.exe' : return code '0x105' I understand why I am seeing an error here. But my question is there any way to make this work apart from marking the patch no uninstallable? I will really appreciate any help in this regard. Thanks, Anagha -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Storing a Property
I'm running a database script as part of my installation. There is a text box that the user can type the name of a SQL Server. During the install process a script is run on the server specified by the user. On uninstall I want to run another script that will the undo all the changes to the database made during the install process. The text box is mapped to a property called DATABASENAME. What is the best way to store a property so I can retrieve it when processing an uninstall? Thanks, Dave -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Service Control / Service Install Wix 3.0/3.5 ICE03 Error
make a separate one more component having servicecontrol' element only. On 18-03-2010 10:30, Michael Schlitt wrote: Does anyone know how to get past the following error in Wix 3.0/3.5 for installing a service. The below code works fine in Wix 2.0. Has there been a major change that I am unaware of? ICE03: Invalid identifier; Table: ServiceControl, Column: ServiceControl, Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop Projects\SetupProjectService\SetupProjectService\Files.wxs:6 ICE03: Invalid identifier; Table: ServiceInstall, Column: ServiceInstall, Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop Projects\SetupProjectService\SetupProjectService\Files.wxs:7 Component Id=BuildServiceComponent Guid=470cdb65-5244-4cbd-b37f-c8a0e29a8368 File Id=BuildService.exe Name=BuildService.exe Vital=yes KeyPath=yes DiskId=1 Source=$(env._NTTREE)\winbat\BuildService.exe / File Id=BuildService.exe.config Name=BuildService.exe.config Vital=yes KeyPath=no DiskId=1 Source=$(env._NTTREE)\winbat\BuildService.exe.config / ServiceControl Id=Build Service Name=Build Service Start=install Stop=both Remove=uninstall Wait=yes/ ServiceInstall Id=Build Service Name=Build Service DisplayName=Build Service Type=ownProcess Interactive=no Start=auto ErrorControl=ignore Description=Build Service Account=LocalSystem / /Component Thank you, -Michael Schlitt -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2754 - Release Date: 03/17/10 23:33:00 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Storing a Property
Write the property to the registry hklm\software\[company]\[productname]\[version]\DatabaseName=Value Read the property during uninstall. If property isn't found, don't execute the uninstll script. Wendell On Thu, Mar 18, 2010 at 2:46 PM, David J. D'Amico dav...@avi.com wrote: I'm running a database script as part of my installation. There is a text box that the user can type the name of a SQL Server. During the install process a script is run on the server specified by the user. On uninstall I want to run another script that will the undo all the changes to the database made during the install process. The text box is mapped to a property called DATABASENAME. What is the best way to store a property so I can retrieve it when processing an uninstall? Thanks, Dave -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Some people come visit Europe and are really let down when they find out it's not like a credit-card commercial; others really get into meeting all the quirky people and careening along narrow mountain roads in rickety cabs driven by suicidal, gap-toothed Carpathians. I guess it's pretty obvious which one you are... - Justin Crevier, May '01 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Creating ProgramMenuFolders and COM Server registration
You can ignore issue (2), I figured that one out. Any help on the COM registration issue would be much appreciated. sanjay -Original Message- From: Sanjay Poria [mailto:sanjay.po...@xanalys.com] Sent: 18 March 2010 13:21 Subject: [WiX-users] Creating ProgramMenuFolders and COM Server registration I am creating a Wix 3.0 installer for a product and have come against a number of issues (migrating from InstallShield). I had a general look around but cant find the answers so im hoping someone can help me: 1) The doc tells me that I should have one component per file and I want to have all installation files in a single feature but then I get a warning (LGHT1076 : ICE47) that I should try and have fewer than 817 components in a feature. Why is this a bad idea? 2) I wish to create a folder structure in the start menu using the following folder structure on installation and use the statements below to do it: ProgramMenuFolder\Vendor\ApplicationName ProgramMenuFolder\Vendor\ApplicationName\Advanced Directory Id=ProgramMenuFolder Name=Programs Directory Id=StartMenuVendor Name=VendorName Directory Id=StartMenuAppName Name=AppName Component Id=StartMenuEntries Guid=... CreateFolder Directory=StartMenuXanalys / RemoveFolder Id='StartMenuAppName' On='uninstall' / RemoveFolder Id='StartMenuAppAdvanced' On='uninstall'/ RemoveFolder Id='StartMenuVendor' On='uninstall' Directory='StartMenuVendor'/ RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' Type='string' Value='' KeyPath='yes' / /Component Directory Id= StartMenuAppAdvanced Name=Advanced Component Id= StartMenuAppAdvanced Guid=... CreateFolder/ RemoveFolder Id= StartMenuAppAdvanced On='uninstall'/ /Component /Directory Directory Id=StartMenuAppAdvanced Name=Advanced / /Directory /Directory /Directory I find that the VendorName folder is not created on install and I get a compile error for the Advanced folder (presumably because it has no file elements?). Can someone tell me why the former error occurs and is there a way to force creation of a (potentially empty) folder. 3) Third issue is related to COM server registration. I have a out of process COM server implemented in a exe (e.g. app.exe) file with an external type library (e.g. app.tlb). I want this to be registered during install and unregistered during uninstall (the equivalent of app.exe /RegServer and app.exe /UnRegServer). I thought I could simply do this: /Component ... File Id=filA7723DE8CBBF678AC3819B61A67C4CD5 KeyPath=yes Source=app.exe TypeLib Id=86B995C7-EC9C-11D4-BEEA-000347024BE1 Description=Application Object Library Language=0 MajorVersion=1 MinorVersion=0 / /File /Component Where the typelib line is extracted by harvesting the entries of app.tlb using heat (and just taking the first line). This doesnt seem to work. Thanks sanjay -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] XmlConfig results in ICE27 failure
Hi I'm using Wix v3.5.1512.0. I've been playing with XmlConfig to modify the root web.config file, but ran into a strange issue today. I originally had the following in a component: Component Id=WebConfig Guid={4B1930CE-1331-4754-855E-77A5FAFFE18B} Directory=INSTALLLOCATION CreateFolder/ util:XmlConfig Id=WEBCONFIG_section File=[NETFRAMEWORK40FULLINSTALLROOTDIR]config\web.config Action=create ElementPath=//configuration/configSections Name=section Node=element On=install Sequence=1/ util:XmlConfig Id=WEBCONFIG_Foo File=[NETFRAMEWORK40FULLINSTALLROOTDIR]config\web.config ElementPath=WEBCONFIG_section Name=name Value=Foo Sequence=2/ util:XmlConfig Id=WEBCONFIG_Remove File=[NETFRAMEWORK40FULLINSTALLROOTDIR]config\web.config Action=delete ElementPath=/configuration Name=configSections Node=element On=uninstall VerifyPath=section[...@name='Foo'[\]] Sequence=1/ /Component When I tried to build the project, I received the following error: Error 2 ICE27: Action: 'DuplicateFiles' in InstallExecuteSequence table must come after the 'InstallFiles' action. If I add a bogus File element in the component everything compiles and runs just fine. I wanted to verify whether this is a bug or whether it's just something that's not documented. There aren't too many examples floating around for XmlConfig so it's been trial and error getting this to work. Thanks, Jacques -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ServiceControl and Component
Hi all, I have a WAR file that I need to install in a pre-installed Tomcat directory. Does the following mean: Stop Tomcat, install or uninstall the WAR file, Start Tomcat.? Component Id=flashaccess.war Guid={693127FB-E0B7-4FFE-B77C-DAA6AD8058FE} File Id=flashaccess.war Name=flashaccess.war KeyPath=yes Source=..\..\FlashAccess\Webservice\Build\wars\flashaccess.war/ ServiceControl Id=StartTomcat6 Name=Tomcat6 Start=both Wait=no / ServiceControl Id=StopTomcat6 Name=Tomcat6 Stop=both Wait=no / /Component I have checked the event logs and see Tomcat is stopped and started, and I have looked at verbose logs from the installer, but I am not sure of the exact sequencing of the three events: stop, install/uninstall file, start. I have also looked at the documentation for ServiceControl/ and I am still not sure. Thank you, Zachary -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MaintenanceWelcomeDlg and InstallUISequence
On 3/18/2010 8:06 AM, Oleksandr Y. Nechyporenko wrote: I've assumed that since I haven't published NewDialog event for Next button in PatchWelcomeDlg, and have published EndDialog event with value Return, it will not show MaintenanceWelcomeDlg when I click Next. That's not how it works: It will show the next dialog in sequence. You need to use NewDialog to handle wizard pages. You'll probably need to replace MaintenanceWelcomeDlg; please file a bug so we can look at how to make it overridable. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Service Control / Service Install Wix 3.0/3.5 ICE03 Error
On 3/18/2010 2:30 PM, Michael Schlitt wrote: ICE03: Invalid identifier; Table: ServiceControl, Column: ServiceControl, Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop Projects\SetupProjectService\SetupProjectService\Files.wxs:6 Like it says, you have an invalid ID. See the Identifier topic in the MSI SDK. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Strange MSI output directory using WiX 3.5.1512.0 on Win2003 R2 SP2 Cruise Control server
Thanks for the feedback Neil. I installed WiX on another build server (a clean install, no previous version of WiX) and it appears to have fixed the problem. I need to go back and un-install and re-install WiX on the original server and see if that fixes the original issue. Thanks again, --Brad On Thu, Mar 18, 2010 at 6:39 AM, Neil Sleightholm n...@x2systems.comwrote: Did you upgrade from 3.0 to 3.5? I had a similar problem with the targets file and it was due to it not being replaced on upgrade. I fixed it by uninstalling and reinstalling. Neil Neil Sleightholm n...@x2systems.com On 17 Mar 2010, at 13:02, Brad Cunningham b...@bradcunningham.net wrote: I just installed WiX 3.5.1512.0 onto my build server and added a new project that is using WiX to the build. I am getting strange behavior when compiling my installer. I don't see any build errors, and the MSI does get built but it is put in the wrong path. When building my release configuration the MSI is output into the following directory: MyProject\`, `bin\Release\`))`))MyProject.msi\ *NOTE*: the backticks, commas, and extra parens. This project is developed in VS2010 but targeting .NET 3.5. I narrowed the problem down to the WiX2010.targets file on the build server (C: \Program Files\MSBuild\Microsoft\WiX\v3.5\wix2010.targets) In that file I found the following property group PropertyGroup !-- Example, c:\MyProjects\MySetup\bin\debug\ -- !-- Condition intentionally omitted on this one, because it causes problems when we pick up the value of an environment variable named TargetDir -- *TargetDir Condition='$(OutDir)' != ''$([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$ (MSBuildProjectDirectory)`, `$(OutDir)`))`))/TargetDir * !-- Example, C:\MyProjects\MySetup\bin\debug\MySetup.msi -- TargetPath Condition= '$(TargetPath)' == '' $(TargetDir)$(TargetFileName)/TargetPath TargetPdbPath Condition= '$(TargetPdbPath)' == '' $(TargetDir)$(TargetPdbName)/TargetPdbPath /PropertyGroup *NOTE:* the escape sequence in the $(OutDir) condition. Also note the comment above stating the condition is intentionally omitted, However it isn't actually commented out. Either the comment is out of date or this condition should actually be commented out? The code snippet in the condition looks like powershell to me so I thought maybe it was a version issue with powershell on my build server causing the problem? I upgraded to powershell 2.0 on the server and it didn't fix the problem. Builds work correctly on my dev box (Win 7 x86 Enterprise). I am stumped at this point what is causing the issue? Any ideas? Thanks Brad Cunningham Microsoft MVP: C# http://blog.bradcunningham.net --- --- --- - Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Brad Cunningham Microsoft MVP: C# http://blog.bradcunningham.net -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] minor issues with WiX installer gui
On 3/18/2010 10:26 AM, Jacek Pospychała wrote: By any chance, can you tell how to find in log, when a button (e.g. Repair) have been pressed or when did the progress dialog appeared? I'd use the timestamps. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] XmlConfig results in ICE27 failure
On 3/18/2010 8:28 PM, Jacques Eloff wrote: When I tried to build the project, I received the following error: Error 2 ICE27: Action: 'DuplicateFiles' in InstallExecuteSequence table must come after the 'InstallFiles' action. If I add a bogusFile element in the component everything compiles and runs just fine. Please file a bug: The XmlConfig custom actions are scheduled relative to DuplicateFiles so they can operate on CopyFile'd files. That won't work when there is no InstallFiles action (though obviously that's rare). -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Deleting files from all users
On 3/18/2010 12:18 PM, Hoyt, David wrote: We have a program that produces some files (it's a cache of some info. it finds when first run) that have to be deleted when the program is either uninstalled or a new version installed. Thus, when the new version is run, it recreates the cache with the updated info. from the new version. The problem is that these files can be in any or all the user's home directories. Modifying the program in question to give it different behavior isn't an option. In many cases, it's not possible to modify every user's profile. So MSI doesn't support it. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ServiceControl and Component
On 3/18/2010 9:10 PM, Zachary Young wrote: I have checked the event logs and see Tomcat is stopped and started, and I have looked at verbose logs from the installer, but I am not sure of the exact sequencing of the three events: stop, install/uninstall file, start. I have also looked at the documentation forServiceControl/ and I am still not sure. Order is controlled by the actions that refer to the data (e.g., StopServices, StartServices, InstallFiles, RemoveFiles) in the InstallExecuteSequence table. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users