Re: [WiX-users] File is not copying sometime with Vital="yes"

2009-10-29 Thread Sandeep Gautam (HCL Technologies Ltd)
In Log file it is saying Installed:Absent MSI (s) (1C:4C) [06:03:02:129]: Component: notepad.exe; Installed: Absent; Request: Null; Action: Null -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Friday, October 30, 2009 11:59 AM To: General discussion for W

Re: [WiX-users] File is not copying sometime with Vital="yes"

2009-10-29 Thread Brian Rogers
Hey, Have you checked the log file output to see what the installer says is happening to those particular files? Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <-- NEW On Thu, Oct 29, 2009 at 11:14 PM, Sandeep Gautam (HCL Technologies Ltd) < v-sgo...

[WiX-users] File is not copying sometime with Vital="yes"

2009-10-29 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi All, I have one file which has property vital="yes" but on some machine it is not copying and installation is showing successful. Anybody has any clue why it is happening. Regards -Sandeep -- Come build with us! The

Re: [WiX-users] [WiX-user] light error Key already added

2009-10-29 Thread Blair
You do have the full 3.0 RTM release. I haven't yet reproduced the problem, even when calling light multiple times from the same MSBuild instance, but you could try adding the following property to your .wixproj file: In the main (the one without conditions towards the top of the file) add the fo

Re: [WiX-users] The untranslated string in uninstallation

2009-10-29 Thread Blair
Is that the string you see when you click "Uninstall" from "Programs and Features" (or ARP)? That comes from the shell, and is in the user's language. Is it the string you see when you run msiexec /x or msiexec /x ? That also comes in the user shell's language (it comes from Windows Installer its

Re: [WiX-users] Some language problem

2009-10-29 Thread Blair
Better yet would be 1252 instead of 860. -Original Message- From: Blair [mailto:os...@live.com] Sent: Thursday, October 29, 2009 5:24 PM To: 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] Some language problem In one of your wxl files for pt-BR, you need

[WiX-users] [WiX-user] light error Key already added

2009-10-29 Thread Daniel Hughes
Error1Item has already been added. Key in dictionary: 'reg4E1AB2B932815062605C8450DBB987C0' Key being added: 'reg4E1AB2B932815062605C8450DBB987C0'light.exe0 I did find some references to this on the web saying its a bug http://n2.nabble.com/Trouble-with-Light-in-Visual-Studio-2

[WiX-users] The untranslated string in uninstallation

2009-10-29 Thread little.forest
The string in uninstallation: "Are you sure you want to uninstall this product?" This string is always in English. Is it possible to translate it to other languages? I can't find it in the language file WixUI_en-us.wxl. Or it may be provided by MSI service? Thanks. /Brian ___

Re: [WiX-users] Some language problem

2009-10-29 Thread Blair
In one of your wxl files for pt-BR, you need to change to -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Thursday, October 29, 2009 4:54 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Some language problem Hi Blair,

Re: [WiX-users] Heat and .exe COM objects

2009-10-29 Thread Bob Arnson
Daniel Hughes wrote: > Have done as you suggested (use RegSpy2 then Tallow then RegCop) but > have run into three problems which make it hard to automate. > So don't automate it; run it once and maintain the authoring as needed. It's an inherently fragile process so you'll probably spend more

Re: [WiX-users] UI Display question

2009-10-29 Thread Bob Arnson
Tom Crozier wrote: > In my installer I validate data on a dialog by performing a > DoAction event (calling a custom action) on a next button press. It can take > a minute or more to validate so I need to either display a popup dialog > saying "Validating - Please wait..." or disp

Re: [WiX-users] Some language problem

2009-10-29 Thread little.forest
Hi Blair, I appreciate your response. I just tried the solution you provided. I've made a big progress: when I compile each language, I added something like "-cultures:fr-FR" because in our language file we have this line "". Then I got the msi, I opened it with Orca. In [Tools]->[Code Page...

Re: [WiX-users] SendTo shortcut for default and all user profiles on multiple OS's

2009-10-29 Thread Bazarewsky, Michael C.
This isn't directly answering your question but if you are willing to continue living with VBScript you could ask it for the folder path. (http://msdn.microsoft.com/en-us/library/0ea7b5xe(VS.85).aspx) -Original Message- From: Evan Beeton [mailto:ebee...@informasoftware.com] Sent: Thurs

Re: [WiX-users] Heat and .exe COM objects

2009-10-29 Thread Daniel Hughes
By the way for anyone thinking I should generate the WiX xml by hand, the WiX output from the suggested method (RegSpy2 + Tallow + RegCop) produces 700 lines of xml. If you have several of these ActiveX exes to register like I do then doing this by hands would involve writing several thousand l

Re: [WiX-users] Heat and .exe COM objects

2009-10-29 Thread Daniel Hughes
Thanks, Have done as you suggested (use RegSpy2 then Tallow then RegCop) but have run into three problems which make it hard to automate. Firstly RegSpy2 throws a "File not Found" message box up which you have to click ok on (it still works), if you look in the code there is comment which says

Re: [WiX-users] Property-RegistrySearch during uninstall

2009-10-29 Thread Blair
Realize that uninstall during major upgrade involves two different packages being transacted (the only nested transaction still supported). The upgrading package runs, and during its RemoveExistingProducts action the InstallExecuteSequence of the package(s) being removed are run with the REMOVE and

Re: [WiX-users] SendTo shortcut for default and all user profiles on multiple OS's

2009-10-29 Thread Blair
For the installing user, you can use the SendToFolder property as a directo...@id (http://msdn.microsoft.com/en-us/library/aa371615(VS.85).aspx). Altering profiles that are not loaded breaks roaming profiles in a really bad way (which may be why the initial release of Vista didn't include in Windo

Re: [WiX-users] Unable to get WIX_DIR_COMMON_DOCUMENTS to work

2009-10-29 Thread Blair
You need both and as well as including the WixUtilExtension reference. -Original Message- From: Brian Noyes [mailto:brian.no...@gmail.com] Sent: Thursday, October 29, 2009 12:19 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Unable to get WIX_DIR_COMMON_DOCUMENTS to work

Re: [WiX-users] ServiceInstall - Start element

2009-10-29 Thread Blair
The database field behind the Start attribute is not a formatted type (or other type that allows replaceable values. If you can't know what startup type you will want/need, though, you can use Bob's "semi-custom action" technique to change that field at runtime. -Original Message- From: en

[WiX-users] Exe Created By Burn Doesn't Do Anything

2009-10-29 Thread jnewton
I'm testing out Burn and the setup.exe that it creates doesn't seem to do anything when I double-click on it. I took one of the example Burn tests and my manifest looks like: http://schemas.microsoft.com/wix/2008/Burn";> Then I'm just i

Re: [WiX-users] Property-RegistrySearch during uninstall

2009-10-29 Thread Alexander Shevchuk (Volt)
> When during the uninstall are the RegistrySearch values evaluated? RegistrySearch is evaluated during AppSearch action. >Are they evaluated during by uninstall package that is invoked during >a major upgrade as well? If so, when? Uninstall during major upgrade is done by RemoveExistingProduct

Re: [WiX-users] ServiceInstall - Start element

2009-10-29 Thread Alexander Shevchuk (Volt)
Type of serviceinst...@start attribute is not "Formatted" (http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx). So, depending on when decision has to be made on this attribute's value: - Build time Use preprocessor directives to set variable and use it something like this: .

Re: [WiX-users] Retrieving a list of all the Properties in thePropertyTable...

2009-10-29 Thread Wilson, Phil
I think you might as well create your own custom table, then you would return all the entries as well as define other information in the table (description, how to install etc). Phil Wilson -Original Message- From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] Sent: Thursd

[WiX-users] SendTo shortcut for default and all user profiles on multiple OS's

2009-10-29 Thread Evan Beeton
Hello, Does anyone know of a concise way to create a "SendTo" shortcut for the default user and all existing user profiles on XP, Vista and Windows 7? Our current approach uses a VBScript custom action to look for hard-coded paths in %USERPROFILE%. We have one script for Vista and one for XP, and

Re: [WiX-users] ServiceInstall - Start element

2009-10-29 Thread Wilson, Phil
The StartType field in the resulting ServiceInstall table is DoubleInteger, so a [property] isn't a legal value (it would require the field type to be Formatted). Phil Wilson -Original Message- From: eneo [mailto:e.karagj...@gmail.com] Sent: Thursday, October 29, 2009 11:51 AM To: wi

Re: [WiX-users] HeatProject

2009-10-29 Thread Steve Baker
I was able to figure this out and have a working version. The key was simply to filter the BuiltProjectOutputGroupDependencies ItemGroup based on the CopyLocal metatdata. Can i just post some code or is it necessary to go through the sign an agreement submit a patch to the dev list type routin

[WiX-users] Unable to get WIX_DIR_COMMON_DOCUMENTS to work

2009-10-29 Thread Brian Noyes
I'm trying to install some project item templates for Visual Studio and need some other custom actions, so am building the installer with WIX. I want the templates installed for all users, not just the current user. VS looks for the templates in a known directory structure under the Documents folde

Re: [WiX-users] Property-RegistrySearch during uninstall

2009-10-29 Thread Tony
When during the uninstall are the RegistrySearch values evaluated? Are they evaluated during by uninstall package that is invoked during a major upgrade as well? If so, when? On Fri, Oct 23, 2009 at 8:17 PM, Blair wrote: > Yes, it is. > > -Original Message- > From: Tony [mailto:yellowja

[WiX-users] ServiceInstall - Start element

2009-10-29 Thread eneo
Hi, I have created a property that gets the value for the 'Start' element. The compiler returns following error: : error CNDL0022 : The ServiceInstall/@Start attribute's value, '[STARTTYPE]', is not one of the legal options: 'auto', 'demand', or 'dis abled'. Failed ... the wix code:

Re: [WiX-users] Retrieving a list of all the Properties in thePropertyTable...

2009-10-29 Thread Dominique Louis
I was trying to avoid bringing back the whole table, but as you say it can't be too big. Thanks for the SQL link as wel.. -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 29 October 2009 16:24 To: General discussion for Windows Installer XML toolset. Subject

Re: [WiX-users] MSI upgrade is looking for the original MSI file

2009-10-29 Thread Giora keinan
Thanks The problem was solved using your inputs. giora Blair wrote: > Generally not. The Component's guids should be stable (if a component > contains the same things, only newer, being installed, it generally should > keep the same guid). Only if you change the name or path of the file/key of >

Re: [WiX-users] MSI upgrade is looking for the original MSI file

2009-10-29 Thread Blair
Generally not. The Component's guids should be stable (if a component contains the same things, only newer, being installed, it generally should keep the same guid). Only if you change the name or path of the file/key of the component's keypath (if you only have one file/registry item that will be

Re: [WiX-users] Retrieving a list of all the Properties in the PropertyTable...

2009-10-29 Thread Peter Shirtcliffe
The subset of SQL used by MSI is documented here http://msdn.microsoft.com/en-us/library/aa372021(VS.85).aspx Could read the whole table and used a regex on each row ? It would be a managable size. -Original Message- From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] Sent: 29

[WiX-users] Retrieving a list of all the Properties in the Property Table...

2009-10-29 Thread Dominique Louis
Hi all, Background : I'm trying to build a Prerequisites dialog with a ListView in it. As such I'd like to make the functionality of this dialog as generic as possible, so it can be reused across several installers, so that all our installers have a common look and feel. This also gets around the

Re: [WiX-users] MSI upgrade is looking for the original MSI file

2009-10-29 Thread Giora keinan
Hello Thanks for the quick response. I think I am using different GUIDs. in the original MSI it is If you keep the same ProductCode (the guid at produ...@id in your code) then > the MSI must keep the same name. If you can't guarantee the same name then > you should look at Major Upgrades. The

[WiX-users] How do i change my DNS host name using WIX

2009-10-29 Thread Quang Le
How do i set my dns hostname for a iis asp.net website i am installing using WIX? everything installs fine but i have to go to path http://localhost/EDSTR2F7 I want to be able to change it so i can get to the site by going http://EDSTR2F7.myhostname.local how do i do that using WIX? is it part of

[WiX-users] DTF and external UI

2009-10-29 Thread Nick Ball
Hi All, I've been looking at the Deployment Tools trying to figure out how to write an external UI handler. Here is what I'm assuming: 1. I can write an external (Winform/WPF) UI to gather some user information, such as install location. 2. I can call Installer.SetExternal

Re: [WiX-users] MSI upgrade is looking for the original MSI file

2009-10-29 Thread Blair
If you keep the same ProductCode (the guid at produ...@id in your code) then the MSI must keep the same name. If you can't guarantee the same name then you should look at Major Upgrades. The easiest way to keep the ProductCode changing is to use '*' as the value for produ...@id. -Original Mess

[WiX-users] MSI upgrade is looking for the original MSI file

2009-10-29 Thread Giora keinan
Hello I created an installation and upgrade MSI files using WIX. (Which was relatively easy). I am testing the upgrade msi. if the original MSI (Xyz.msi) is present in the original path the upgrade is done smoothly. I am using the command: >msiexec /i XyzUpgrade.msi REINSTALL=ALL REINSTALLMODE

[WiX-users] UI Display question

2009-10-29 Thread Tom Crozier
All - In my installer I validate data on a dialog by performing a DoAction event (calling a custom action) on a next button press. It can take a minute or more to validate so I need to either display a popup dialog saying "Validating - Please wait..." or display the text on top o

Re: [WiX-users] Showing a "FilesInUse" dialog in a Installer/Patch with no UI

2009-10-29 Thread Blair
For both dialogs, they just need to exist in the MSI (either by themselves or via the MSP). Also, a populated InstallUISequence must exist so that UI can be enabled (same). If the UI elements are in the MSI, they will be used when the MSP is applied if needed. -Original Message- From: Andr

Re: [WiX-users] Upgrade and new install

2009-10-29 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, I googled how to create custom action dll. And the link error has been resolved. Now the question is how to complete the function as you suggested. Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Donnerstag, 29. Oktober 2009 14:50 An

[WiX-users] Showing a "FilesInUse" dialog in a Installer/Patch with no UI

2009-10-29 Thread Andreas Mertens
Just a general installer question, though I am using Wix 3.0. I have created a .MSI with no UI - I use this to turn it into a Bootstrap installer package, and as such don't want it to have any UI. I am also creating patches of this installer, for periodic updates. All that does work fine. Howeve

Re: [WiX-users] Upgrade and new install

2009-10-29 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, Thanks a lot for your help. I will try to use the path search custom action as you said. I am not clear how to create a custom action native dll. I just create an empty project in Visual Studio 2005. Add your code to .cpp file: #include #include #include #pragma comment(linker, "/

Re: [WiX-users] Upgrade and new install

2009-10-29 Thread Blair
Are these services as in Windows Services, controlled by the Service Control Manager? They have APIs that let you discover the run state of controlled services, as well as the fact that you can ignore the failure to start when the result is that the service is already running. If you must continue

Re: [WiX-users] ExitDialog appearing two times

2009-10-29 Thread Pally Sandher
http://msdn.microsoft.com/en-us/library/aa368569.aspx Exit Dialog is shown by the InstallUISequence. You're also showing it before that when a user clicks the Next button on your "MyDialog". Follow the MSDN instructions to replace the Exit Dialog in the InstallUISequence with your "MyDialog". Pal

Re: [WiX-users] - MDAC merge module

2009-10-29 Thread Pally Sandher
You should look at what your application needs installed to run rather than what InstallShield does in the package it generated. Before I joined IES our packages were created by the IT "manager" (he 'managed' a team consisting of himself) in InstallShield. They were massively bloated with a lot of

Re: [WiX-users] VB6 COM Server EXE

2009-10-29 Thread Pally Sandher
Luckily for you someone else asked the same question 5 hours before you did. See my answer to the thread "Heat and .exe COM objects". 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 wi

Re: [WiX-users] Heat and .exe COM objects

2009-10-29 Thread Pally Sandher
Heat can't extract the COM information from your executable but never fear, all is not lost quite yet. I've used a tool called RegSpy2 to harvest the /regserver information from an out-of-process COM server executable in the past. It's available at http://www.installsite.org/pages/en/msi/tips.htm (

Re: [WiX-users] Upgrade and new install

2009-10-29 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, Here I would like to explain you the reason why I use this Custom Action. This CA is to call an exe to start some services. For the old path, the services are already started. If start them again, it will cause problem. For the new path, the exe must start the services, otherwise the

Re: [WiX-users] Replacing the WelcomeDlg in the InstallUISequence

2009-10-29 Thread Pally Sandher
Um http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm ? Also exists in your WiX.chm installed with the WiX toolset on your local machine. You may want to go through the tutorial as this is also covered at http://www.tramontana.co.hu/wix/lesson2.php#2.3 Palbinder Sandher Software De

[WiX-users] ExitDialog appearing two times

2009-10-29 Thread danimian
Hello, by clicking Next in a Dialog window as MyDialog the ExitDialog is appearing two times. I am using Wix_Mondo. 1 1 what can be the reason for that? Best Regards Adnan -- View this message in context: http://n2.nabble.com/ExitDialog-appearing-two-times-tp3910926p3910926.html Sent from the

Re: [WiX-users] Check and display Prerequisite Lists in Wix UI Dialog

2009-10-29 Thread Blair
One that continued into this week has the subject (whitespace varies) of "[WiX-users] How to populate a list box in a msi dialog duringruntime" -- thread started by Uma Harano [mailto:uhar...@esri.com] on Oct 12th. I believe the thread includes the refresh issue as well. -Original Message-

Re: [WiX-users] Some language problem

2009-10-29 Thread Blair
You will likely notice, if you open the MSI in Orca, that when you check the codepage for the database it isn't the codepage you likely expected it to be. The codepage used has to support the characters you intend to use. If you don't set it, it defaults to 7-bit ASCII. Transforms should be able to

Re: [WiX-users] Check and display Prerequisite Lists in Wix UI Dialog

2009-10-29 Thread Sankha Biswas (Extended Results Inc)
Hi Blair, Could you please fwd me the discussion thread. I would appreciate your help. Thanks, Sankha -Original Message- From: Blair [mailto:os...@live.com] Sent: Wednesday, October 28, 2009 11:21 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Ch

[WiX-users] Some language problem

2009-10-29 Thread little.forest
We use Wix 3.0. The problem is, some Spanish characters don't show correctly. "instalación" shows as "instalaci?n". Some background: Our product requirement asks us to support "multiple language MSI" which isn't supported officially by MSI. Someone posted some trick(http://jpa