Re: [WiX-users] make my vbscript to run --

2010-05-19 Thread subramanyeswari
this is my dll code #include windows.h #include msi.h extern C { __declspec(dllexport) bool GalaxyInstalltion() { TCHAR szVersion[20]; DWORD cchVersion = 20; bool nGalaxy = false; INSTALLSTATE nFeatureState =

Re: [WiX-users] Force Uninstall of old version prior to install of new version

2010-05-19 Thread Blair
What does a verbose log say? -Original Message- From: Martin Johnson [mailto:mjohn...@xenomorph.com] Sent: Tuesday, May 18, 2010 7:00 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Force Uninstall of old version prior to install of new version This is my first WiX based

Re: [WiX-users] make my vbscript to run --

2010-05-19 Thread Blair
I'm looking back through as much of this entire thread as I can find and I have an observation and a question I can't seem to find the answers for: Observation: You start with a deferred, non-impersonated custom action (that happens to be in VBScript, which many A/V systems will break) that both

Re: [WiX-users] Upgrade installation

2010-05-19 Thread Blair
By using a blank GUID for those components, they become set-and-forget components (they will not be removed when the product is removed, whether as part of the upgrade or any other time). Most of the time, people don't like that either (they expect clean removals). The usual way to do things is:

Re: [WiX-users] make my vbscript to run --

2010-05-19 Thread subramanyeswari
Hi Blair, I am looking for a particular feature is installed in the system. If it is installed, then making flag to true and using that variable to set one property in wxs. I am retuning that variable from my dll based on the feature installtion and i amusing that in my wxs as below.

Re: [WiX-users] Installing File associations without DDE !

2010-05-19 Thread Connatic
I am amazed, i think this is the first post i have had no replies too on this forum, has anyone done any work on installing file associations ? -- View this message in context:

Re: [WiX-users] make my vbscript to run --

2010-05-19 Thread subramanyeswari
I resolved my problem. The problem is control is not coming back to Install. I added the following statement to the dll and it worked // // Let the installer know we completed successfully // return ERROR_SUCCESS; Thanks everyone. Regards, Subramanyeswari -- View this message

Re: [WiX-users] Installing File associations without DDE !

2010-05-19 Thread Connatic
Hi there, thanks for the reply, to be honest this was written by someone else so my Wix while improving is a little patchy at times. Could you tell me what is the difference between Advertised and non-Advertised extensions ? I might have a look at the registry then as well then and see if i

Re: [WiX-users] msbuild command line parameters

2010-05-19 Thread Kurt Jensen
I'm having trouble getting the build to behave right now... In the mean time, this was the source I was following http://www.ageektrapped.com/blog/setting-properties-for-wix-in-msbuild/ I am assuming that this worked at the time it was written. But now it does not work? -Original

Re: [WiX-users] HarvestDirectory in 3.5 doesn't quote the include path

2010-05-19 Thread Matt Johnson
Try using $(Configuration) instead of Release Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www.timeamerica.com -Original Message- From: John Ketchpaw [mailto:jketch...@panopto.com] Sent: Tuesday, May 18, 2010 6:35

[WiX-users] sharing strings among components

2010-05-19 Thread Kurt Jensen
Since using DefineConstants in msbuild appears to be a dead end, maybe someone can suggest another approach. Our VS2008 solution can be built for three different products - Standard, Professional, and Enterprise - depending on a compiler constant sent to each csproj and wixproj - BG_STANDARD,

Re: [WiX-users] msbuild command line parameters

2010-05-19 Thread Castro, Edwin G. (Hillsboro)
I've successfully used DefineConstants before. I used it to provide external paths to locations I was harvesting. Of course, a repo would be nice. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider

Re: [WiX-users] msbuild command line parameters

2010-05-19 Thread Kurt Jensen
Repro is simple. From a default wixproj created in VS2008, I added the following PropertyGroup WixToolPath$(MSBuildProjectDirectory)\..\..\..\Installations\WiX\Windows Installer XML v3\bin\/WixToolPath WixTargetsPath$(WixToolPath)Wix.targets/WixTargetsPath

Re: [WiX-users] sharing strings among components

2010-05-19 Thread Alex Ivanoff
Did you try my suggestion? CreateProperty Value=WiXProductName=BeamGage Professional;WiXProductVersion=$(WiXVersion);$(DefineConstants) Output TaskParameter=Value PropertyName=DefineConstants / /CreateProperty -Original Message- From: Kurt Jensen

Re: [WiX-users] sharing strings among components

2010-05-19 Thread Alex Ivanoff
Forgot to say that this needs to be in BeforeBuild target. -Original Message- From: Alex Ivanoff Sent: Wednesday, May 19, 2010 11:12 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] sharing strings among components Did you try my suggestion?

[WiX-users] How to run a Custom Action during uninstall only?

2010-05-19 Thread Xmun
Hi, I am trying to run a custom action on uninstall only. The problem is that since we issue major upgrades eg. 1.3.X (which automatically remove the previous version) then the custom action is running on upgrades too. I have tried all the conditions: REMOVE=ALL INSTALLED NOT PREVIOUSFOUND

[WiX-users] Mailing list search on sourceforge broken?

2010-05-19 Thread Wix Mailing List
I'm trying to search the archived mailing lists at https://sourceforge.net/search/?group_id=105970type_of_search=mlists, but no matter what search term I enter (and using wix-users) I don't get any results back. Who might I contact about this? Dan

Re: [WiX-users] How to run a Custom Action during uninstall only?

2010-05-19 Thread Pally Sandher
dblock has posted a solution to this less than a week ago. See http://code.dblock.org/ShowPost.aspx?id=101 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

Re: [WiX-users] Issues for migrating Wix 2.0 to Wix 3.0

2010-05-19 Thread Hong Shen (CRM)
You sure? I tried it and it doesn't generate com registration as I attached below. I just did Heat.exe file whatever.dll -o whatever.output Thanks, Hong -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Tuesday, May 18, 2010 4:55 PM To: General discussion for

Re: [WiX-users] msbuild command line parameters

2010-05-19 Thread Castro, Edwin G. (Hillsboro)
Caveat: I don't have a TFS environment to test this out on. I created a new WixProject and defined a couple of values in DefineConstants like so: Project DefaultTargets=Build xmlns=http://schemas.microsoft.com/developer/msbuild/2003; PropertyGroup Configuration Condition=

Re: [WiX-users] msbuild command line parameters

2010-05-19 Thread Castro, Edwin G. (Hillsboro)
I see I wasn't clear about WiXProductVersion before. I wish I had the ability to edit email that was already sent... Anyways... WiXProductVersion doesn't have a value on the candle command line because $(WiXVersion) was not defined in my project file. I assume that WiXVersion is defined in

Re: [WiX-users] msbuild command line parameters

2010-05-19 Thread Kurt Jensen
Yes, the definitions all have values. And yes, it works fine from the IDE. I too see -dWiXProductName=BeamGage Standard -dWiXProductVersion=5.3.3782 on the command line to candle when run from the IDE or via msbuild on my development machine. But, with the identical wixproj, neither of the -d

[WiX-users] Problem with Patch

2010-05-19 Thread Carolina Zuqueto Amaral
Hi, Patch changes three files, but when I uninstall it, the files are excluded. The files are changed , because it has different versions. The files should go back to previous version. Why is this happening? Thanks, Carolina Zuqueto Amaral

Re: [WiX-users] msbuild command line parameters

2010-05-19 Thread Castro, Edwin G. (Hillsboro)
What does your TFS build file look like? I don't have TFS but I have used it in the past. I'll do the best I can. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing

Re: [WiX-users] Mailing list search on sourceforge broken?

2010-05-19 Thread Neil Sleightholm
I tend to use Nabble (http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/) to search the archives, I find it more reliable. Neil -Original Message- From: Wix Mailing List [mailto:w...@danhinsley.com] Sent: 19 May 2010 18:03 To: 'General discussion for Windows Installer XML

Re: [WiX-users] DTF: Missing Session Tables?

2010-05-19 Thread Jason Ginchereau
A database is read-only during an installation session. You may insert TEMPORARY columns and rows, but that is all. This is not a DTF limitation -- it's from the MSI runtime. So you won't be able to do anything via P/Invoke that you can't do using the DTF database APIs. As for the discrepancy

[WiX-users] Environment Variable not set until much too late

2010-05-19 Thread glenneroo
I have a CA running after InstallFinalize inside InstallExecuteSequence sequence and it relies on an environment variable (HOME), however, the variable isn't being set until AFTER I completely finish the installation. Here's a snippet from my install log: MSI (s) (1C:24) [21:56:25:369]:

Re: [WiX-users] Issues for migrating Wix 2.0 to Wix 3.0

2010-05-19 Thread Rob Mensching
No, not sure. I thought it worked that way... debugging the code would show for sure. On Wed, May 19, 2010 at 10:28 AM, Hong Shen (CRM) hongs...@microsoft.comwrote: You sure? I tried it and it doesn't generate com registration as I attached below. I just did Heat.exe file whatever.dll -o

[WiX-users] Patch

2010-05-19 Thread Carolina Zuqueto Amaral
Hi, I created a lot of MSPs. I want to install a lot of patches in the target setup. How Do I do this? Thanks, Carolina Zuqueto Amaral carolina.ama...@conv.com.brmailto:carolina.ama...@conv.com.br tel +55 21 2494-5476 cel +55 21 9524-7186

[WiX-users] UI Edit Box not updating

2010-05-19 Thread Matt Johnson
I have a custom action that is fired from a UI button that ultimately sets a value to a property which is displayed in an Edit box on the same UI. It is working fine, but only the first time. If I clear the edit box and immediately hit the button again, the value doesn't show up. I know the

Re: [WiX-users] Installing File associations without DDE !

2010-05-19 Thread Blair
The official documentation is here: http://msdn.microsoft.com/library/aa367548.aspx Basically: advertised means that rather than pointing to your code, the registry/shortcut/whatever points to some Windows Installer code that does a health check and repairs your product's feature if the keypath

Re: [WiX-users] Problem with Patch

2010-05-19 Thread Blair
What does the verbose log say? You may need to set REINSTALLMODE when removing the patch. -Original Message- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Wednesday, May 19, 2010 12:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem with

[WiX-users] Show the ProgressBar while Running the Custom Action

2010-05-19 Thread Velu
HI In our installer progress bar is not displayed when the custom action is running. We are using the Manager Custom action. I have tried by executing the Custom Action in Both Deferred and Immediate custom action. But the Progress text alone changed but no progress bar. I have also tried this

Re: [WiX-users] msbuild command line parameters

2010-05-19 Thread Kurt Jensen
This looks promising. 1) Where does it would go? wixproj? wxs? tfsbuild.proj? 2) I am building the solution twice, can it be specified for each SolutionToBuild? -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Tuesday, May 18, 2010 2:19 PM To: General

Re: [WiX-users] sharing strings among components

2010-05-19 Thread Kurt Jensen
Sorry. I accidently responded to myself... Yes I did try it. But it did not work. Originally I was trying to go this way. But apparently msbuild has a problem with the wix property=value construct as described in this link.

Re: [WiX-users] sharing strings among components

2010-05-19 Thread Kurt Jensen
That response may be ambiguous. I already have a DefineConstants in my Properties under SolutionToBuild. I added the CreateProperty under an existing BuildNumberOverrideTarget target. The existing DefineConstants appears in the buildlog and on the various command lines. The CreateProperty

[WiX-users] General, vinod kulkarni has invited you to open a Google mail account

2010-05-19 Thread vinod kulkarni
I've been using Gmail and thought you might like to try it out. Here's an invitation to create an account. --- vinod kulkarni has invited you to open a free Gmail account. To accept this invitation and register for your

Re: [WiX-users] Patch

2010-05-19 Thread vinod kulkarni
Hello Carolina, Hope the following link helps you http://wix.sourceforge.net/manual-wix3/wix_patching.htm. Thanks Regards, Vinod K On Thu, May 20, 2010 at 3:11 AM, Carolina Zuqueto Amaral carolina.ama...@conv.com.br wrote: Hi, I created a lot of MSPs. I want to install a lot of patches in