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

2010-05-18 Thread subramanyeswari
this is my dll code #include #include extern "C" { __declspec(dllexport) bool GalaxyInstalltion() { TCHAR szVersion[20]; DWORD cchVersion = 20; bool nGalaxy = false; INSTALLSTATE nFeatureState = MsiQueryFeatureState("{9AA7902B-84BE-4C15-93D1-D6C30

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

2010-05-18 Thread Christopher Painter
I don't think Jason got around to creating classes for all of the various tables.  You can still hand write SQL queries to get to the other standard and/or custom tables in your database. - Original Message From: Scott Davis To: wix-users@lists.sourceforge.net Sent: Tue, May 18, 201

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

2010-05-18 Thread Scott Davis
I thought that calling Session.Database would give me the database object for the installation. What is confusing to me is that Session.Database.Tables.Count is returning 45, but iterating through Session.Database.Tables is only showing me 12 tables. I would expect to see 45 tables by iterating

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

2010-05-18 Thread John Ketchpaw
Looks like bug 2810139. Also, since I'm new to this, is there a way to specify a name other than the last node of the path? In my case, it's "Release", which I expect will collide sooner rather than later: ASPNetAjaxToolkit BINDIR -john -

Re: [WiX-users] Upgrade installation

2010-05-18 Thread Wix Mailing List
First, thanks for taking the time to explain all of this, as I said this is all new to me. I'm using VS 2008, and for whatever reason it didn't delete the file as part of the update. I've also got it set to not do so using Wix by not specifying a GUID for that component (a user can put a lot of w

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

2010-05-18 Thread Rob Mensching
Heat will do it automatically when harvesting the file. No extra switch necessary, IIRC. On Tue, May 18, 2010 at 2:14 PM, Hong Shen (CRM) wrote: > Hi there, > > Wondering if this the right place to ask wix 3.0 migration questions. If > not, please forgive me and redirect me to a right discussion

Re: [WiX-users] Upgrade installation

2010-05-18 Thread Wilson, Phil
What you're describing is a major upgrade. You didn't mention this, but Visual Studio setup projects typically have RemovePreviousVersions set true, that would cause an upgrade where the old version of the product would be uninstalled. That's what incrementing ProductVersion, changing the Produc

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

2010-05-18 Thread Christopher Painter
Session is an object not a Windows Installer table.   Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original Message From: Scott Davis To: wix-users@lists.sourceforge.net Sent:

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

2010-05-18 Thread Hong Shen (CRM)
Hi there, Wondering if this the right place to ask wix 3.0 migration questions. If not, please forgive me and redirect me to a right discussion group. Our team is trying to replace wix 2.0 with wix 3.0, however when replacing "tallow -c" in 2.0, I cannot find a tool in 3.0 does the exact same t

Re: [WiX-users] msbuild command line parameters

2010-05-18 Thread Kurt Jensen
I'll try. It is being built under VS2008 and TFS2008. -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Tuesday, May 18, 2010 2:25 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] msbuild command line parame

Re: [WiX-users] msbuild command line parameters

2010-05-18 Thread Castro, Edwin G. (Hillsboro)
Can you make a minimal *.wixproj that reproduces the problem? I don't see anything obvious in the information you've already shared. I just looked through the wix.targets and wix2010.targets files in case something is happening there that would account for what you are seeing but didn't find anyt

Re: [WiX-users] msbuild command line parameters

2010-05-18 Thread Alex Ivanoff
-- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] msbuild command line parameters

2010-05-18 Thread Kurt Jensen
Good idea but still not appearing in the build log. Any more ideas out there? -Original Message- From: Blair [mailto:os...@live.com] Sent: Monday, May 17, 2010 10:14 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] msbuild command line parameters I

Re: [WiX-users] Upgrade installation

2010-05-18 Thread Wilson, Phil
I'll assume a .NET setup is a Visual Studio Setup Project, but anyway there's something missing in your description. You may have to be more precise about what you did. If you install an MSI file with a ProductCode, then that product guid is on the system, that's the definition of a product. I

[WiX-users] DTF: Missing Session Tables?

2010-05-18 Thread Scott Davis
I'm writing my first custom action using DTF from WiX 3.0.5419.0, and I'm having an interesting issue: it appears that all of the MSI tables are not accessible to my custom action. I'm using InstallShield 2010, and have set up the custom action to run as an MSI custom action. [CustomAction] publ

Re: [WiX-users] Upgrade installation

2010-05-18 Thread Wix Mailing List
If you have two separate MSI files then you'll have two entries in Add/Remove Programs. There's no magic merge that makes them become one product. >> But I did the same type of thing using the .NET setup (which produces MSI files) and it did as I expected. The upgrade recognized that it was the

Re: [WiX-users] RegistrySearch converts value data

2010-05-18 Thread Castro, Edwin G. (Hillsboro)
Total Commander must be executing the 32-bit version of cmd.exe. Most likely that is happening because Total Commander is a 32-bit app. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environ

Re: [WiX-users] Upgrade installation

2010-05-18 Thread Wilson, Phil
If you have two separate MSI files then you'll have two entries in Add/Remove Programs. There's no magic merge that makes them become one product. Why exactly don't you want to include the file in subsequent updates? If it's a static file then patches and upgrades won't try to update it anyway

[WiX-users] Upgrade installation

2010-05-18 Thread Wix Mailing List
The install of my app includes a large file that I don't want to include in the subsequent updates. So I have an install project and an upgrade project. I have the Product->UpgradeCode, and the Component->GUID Guids the same in the install and the upgrade. I use AutoGen for the Product and Packa

Re: [WiX-users] Application Version Upgrade

2010-05-18 Thread Wilson, Phil
A verbose log will tell you what happened about replacing that file. I suspect you may not have incremented its file version. Phil Wilson -Original Message- From: Vladimir Iahnenco [mailto:vladimir.iahne...@gmail.com] Sent: Tuesday, May 18, 2010 7:54 AM To: wix-users@lists.sourceforge

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

2010-05-18 Thread David Watson
An error is occuring hidden inside your custom action. You could add some logging to that. Is 'GalaxyInstalltion' a typo maybe? Dave http://www.sdl.com";>http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/> http://www.sdl.com"; style="color:005740; font-weight:

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

2010-05-18 Thread subramanyeswari
http://n2.nabble.com/file/n5070767/app.log app.log attached is the log. and here is the snapshot === Verbose logging started: 5/18/2010 6:49:27 Build type: SHIP UNICODE 3.01.4000.4042 Calling process: C:\WINDOWS\system32\msiexec.exe === MSI (c) (34:44) [06:49:27:770]: Resetting cached polic

Re: [WiX-users] RegistrySearch converts value data

2010-05-18 Thread Jimmie Eriksson
ok, now I know what happend... When I start a cmd prompt from inside Total Commander... the %ProgramFiles% folder maps to C:\Program Files (x86) ... but when the cmd prompt is started from Windows ... everything is correct.. Total Commander is a 32-bit program ... maybe thats why?!? ... weired thou

Re: [WiX-users] How to write custom action for collecting SQL database inforamation

2010-05-18 Thread dB .
I suspect you want this for deploying a database. This could be helpful: http://code.dblock.org/ShowPost.aspx?id=100. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: yogesh.dbandiwade...@wipro.com [mailto:yogesh.dbandiwade...@wipro.com] Sent: Tuesday, May 1

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

2010-05-18 Thread Pally Sandher
1 - Check a verbose log. 2 - Try . That works fine for me & is what is suggested in the How To page -> http://wix.sourceforge.net/manual-wix3/major_upgrade.htm Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Desi

Re: [WiX-users] RegistrySearch converts value data

2010-05-18 Thread Jimmie Eriksson
Jesus, I just check my coworkers computers and all of them map %ProgramFiles% to C:\Program Files ... I was wrong... I wonder how this happend!? I can't remember ever changing this system variable... which seems like a very bad idéa.. 2010/5/18 Jimmie Eriksson > %PROGRAMFILES% maps to C:\Program

Re: [WiX-users] RegistrySearch converts value data

2010-05-18 Thread Pally Sandher
I fully suspect WIN64DUALFOLDERS would still get in your way if you tried to use %ProgramFiles (which on the XP64 machine I'm on right now maps to C:\Program Files\ while %ProgramFiles(x86) maps to C:\Program Files (x86)\ FYI) in a x86 package on an x64 system. Palbinder Sandher Software Deplo

[WiX-users] Application Version Upgrade

2010-05-18 Thread Vladimir Iahnenco
Hi All, I need some help figuring out what happens with my application (DLL) upgrade. I want to upgrade existing application version from ProductVersion = 1.0.118.1 to ProductVersion = 1.0.154.1 Msi's have the same product and upgrade code. To upgrade application we are running an application

[WiX-users] How to write custom action for collecting SQL database inforamation

2010-05-18 Thread yogesh.dbandiwadekar
Hi all Please tell me how I can write Custom action to fetch SQL Instance Information Thanks Yogesh Bandiwadekar (Wipro Ltd.) -- ___ WiX-users mailing list Wi

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

2010-05-18 Thread Martin Johnson
This is my first WiX based installer, having migrated from installshield. My problem is that if I have a version already installed when I execute the msi the installed version is removed but the new version is not installed. In the I have . Am I missing something incredibly simple.

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

2010-05-18 Thread David Watson
1603 = Fatal error during installation, which is largely meaningless. You need to make an install log for more details. -Original Message- From: subramanyeswari [mailto:sravi...@yahoo.com] Sent: 18 May 2010 14:59 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] make my vbscr

Re: [WiX-users] RegistrySearch converts value data

2010-05-18 Thread Jimmie Eriksson
%PROGRAMFILES% maps to C:\Program Files (x86) on a 64-bit system. On my system the variable %ProgramW6432% maps to C:\Program Files. But that variable ain't existing on a 32-bit system. /Jimmie 2010/5/16 Kristoffer Danielsson > > What happens if you specify %PROGRAMFILES%? It always maps to C:\

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

2010-05-18 Thread subramanyeswari
Hi, I have discarded the vbs and wrote a small dll and am using it. This time i got Return value: 1603. when i looked in the net it says permission problem? what kind of permission is it and how to overcome that?. Thanks, Subramanyeswari -- View this message in context: http://windows-instal

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

2010-05-18 Thread Connatic
Bump ! what doesn't anybody have a clue about this ? it is a real pain and i cant seem to find anything out about it. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installing-File-associations-without-DDE-tp5069485p5069995.html Sent from the wi

Re: [WiX-users] wixlib

2010-05-18 Thread Kurt Jensen
I did try those. I have two component groups in the wixlib. I moved the component groups from being part of the project to the wixlib. But, candle gave an error. Of course, this morning it works fine... Maybe I forgot to build the wixlib. -Original Message- From: Castro, Edwin G. (

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

2010-05-18 Thread Pally Sandher
Test it on a virtual machine without any AV running/installed & see if it works. If it does, AV is your problem. You then need to figure out some way to get your VBS to run while circumventing every AV package available & then sell the concept to malware authors everywhere & become rich beyond the

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

2010-05-18 Thread subramanyeswari
yes, I have antivirus installed on my system. and here is the log. Product: ApserverDocs -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action scri

[WiX-users] Installing File associations without DDE !

2010-05-18 Thread Connatic
Hi All, does anyone know how to install file associations without DDE ? This is my current wix code - With this code it installs the file association ok but with DDE turned on. I need to have DDE turned off. To see what i mean if you open windows explore

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

2010-05-18 Thread Pally Sandher
Do you have anti-virus running on the system you're trying to install this package on? Check a verbose log. 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 ** Integrated Envir

[WiX-users] make my vbscriot to run

2010-05-18 Thread subramanyeswari
Hi, I wrote small vbsccript function for my purpose and here it is. Public installer, state Const msiInstallStateDefault = 5 ' Connect to Windows Installer object set installer = CreateObject("WindowsInstaller.Installer") state = installer.productstate ("{9AA7902B-84BE-4C15-93D1-D6C30322ABBF

Re: [WiX-users] tying INSTALLDIR in MSM to the MSI which contains it?

2010-05-18 Thread Илья Сербис
Hello, Charlie! If I understand you right, you should specify MergeRedirectFolder as a target directory of your Module. Take a look at this: http://odd-staff.blogspot.com/2010/05/wix-meaning-of-mergeredirectfolder.html Ilya Serbis > I have a merge module with some content common to several .

Re: [WiX-users] tying INSTALLDIR in MSM to the MSI which contains it?

2010-05-18 Thread Илья Сербис
Hello, Charlie! If I understand you right, you should specify MergeRedirectFolder as a target directory of you Module. Take a look at this: http://odd-staff.blogspot.com/2010/05/wix-meaning-of-mergeredirectfolder.html Ilya Serbis > I have a merge module with some content common to several .M

Re: [WiX-users] Conditionally install executable as service

2010-05-18 Thread Andreas Hirth
Thanks a lot for the replies. The approach with two components is working for me now. My mistake was to not define the conditions fully exclusive. That’s why I got ICE30. Setting two different ShortNames manually was not necessary. Thanks again, Andreas

[WiX-users] tying INSTALLDIR in MSM to the MSI which contains it?

2010-05-18 Thread Charlie Arcuri
I have a merge module with some content common to several .MSI's and I'd like the .MSI that contains/includes the .MSM to specify where the .MSM should install its content - how can I do that? I've tried the following - but it puts the 2 folders (PanoCntrl and MyAccount) directly in c:\program