Re: [WiX-users] A Problem with CustomAction

2008-12-03 Thread Mukesh Agrawal
Thanks for the reply Wilson. Yes, it is necessary. However, I got over the issue by setting Impersonate='Yes'. But, I fear, any other user trying to install the product would not be able to do so. -Original Message- From: Wilson, Phil [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02,

Re: [WiX-users] A Problem with CustomAction

2008-12-03 Thread Romeo Salayo Jr.
Hi Mukesh, If the installing user has an administrative rights there would be no problem. Impersonate='No' will use system context btw. Mukesh Agrawal wrote: > > Thanks for the reply Wilson. > Yes, it is necessary. > However, I got over the issue by setting Impersonate='Yes'. But, I fear, > a

Re: [WiX-users] How can I achieve this?

2008-12-03 Thread ychen
What is the best way to do create shortcuts for selected app servers then? -- View this message in context: http://n2.nabble.com/How-can-I-achieve-this--tp1605139p1609089.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] Codeplex

2008-12-03 Thread Alex Ivanoff
I would love that. -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2008 16:51 To: [EMAIL PROTECTED]; General discussion forWindows Installer XML toolset. Subject: Re: [WiX-users] Codeplex If everyone agrees to move and we can get all of the l

[WiX-users] Problem regarding running SQL script from msp file.

2008-12-03 Thread prasoon81
Hi, I am using wix2.0. I want to run sql script from my patch but while running this script in my logs I am getting following msg MSI (s) (00:D8) [22:52:19:037]: Component: MigrateSqlDataBaseFrom15RTMTOSP; Installed: Absent; Request: Local; Action: Local Can anybody help me out why my scr

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-03 Thread Ian Elliott (Excell Data Corporation)
Your log snippet shows that the component is to be installed. If the script did not run (and it's correctly associated with that component) then it is hard to tell why from what you have posted. It would be better to put the entire log on a server somewhere so people can see it in its entirety.

Re: [WiX-users] is there a canned way for authoring a prerequisite that checks for the presence of another msi installed product, e.g. w/o using registry or directory or file searches?

2008-12-03 Thread Wilson, Phil
And the Upgrade table can be used to search for products using UpgradeCode and set the search to only detect. Phil Wilson -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2008 2:36 PM To: General discussion for Windows Installer XML toolse

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-03 Thread prasoon81
Uploaded log on the server. Thanks Prasoon Ian Elliott (Excell Data Corporation) wrote: > > Your log snippet shows that the component is to be installed. If the > script did not run (and it's correctly associated with that component) > then it is hard to tell why from what you have posted.

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-03 Thread Ian Elliott (Excell Data Corporation)
What is the full path to the log file? -Original Message- From: prasoon81 [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 9:41 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Problem regarding running SQL script from msp file. Uploaded log on the server. Tha

Re: [WiX-users] Codeplex

2008-12-03 Thread Richard
Since its already working on sourceforge, what's to be gained by moving to codeplex? Just because one person prefers browsing that site as compared to sourceforge? IMO, there should be some significant advantage to switching it. There are tons of posts out there by me recommending wix and using

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-03 Thread prasoon gupta
http://n2.nabble.com/file/n1609938/log.txt On Wed, Dec 3, 2008 at 11:22 PM, Ian Elliott (Excell Data Corporation) < [EMAIL PROTECTED]> wrote: > What is the full path to the log file? > > -Original Message- > From: prasoon81 [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 03, 2008 9:

Re: [WiX-users] is there a canned way for authoring a prerequisite that checks for the presence of another msi installed product, e.g. w/o using registry or directory or file searches?

2008-12-03 Thread Robert O'Brien
I added the following property assignment using ComponentSearch and prerequisite check and the property assignement isn't happening in case where prerequisite msi is known to be installed and known to have product id guid value specified in componentSearch. Am I misinterpreting the use of Com

Re: [WiX-users] Codeplex

2008-12-03 Thread Rob Mensching
Yes. That's why I added the qualification that all the URLs on the Internet that point here need to be updated some way as well. Maybe HTTP 301s could be used but I'm not sure how to make gmane and nabble and all those guys to jump over. -Original Message- From: Richard [mailto:[EMAIL

Re: [WiX-users] is there a canned way for authoring a prerequisite that checks for the presence of another msi installed product, e.g. w/o using registry or directory or file searches?

2008-12-03 Thread Rob Mensching
It's a *Component*Search not a *Product*Search.Look for a Component that is unique to the Product. Or use the Upgrade as Phil suggested (I find ComponentSearch a bit easier than Upgrade). -Original Message- From: Robert O'Brien [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03,

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-03 Thread Ian Elliott (Excell Data Corporation)
The log shows the following (line 2666): MSI (s) (00:F4) [23:01:24:012]: Skipping action: ConfigureSql (condition is false) Look up and see what the condition is and try to determine why it is false. This is probably the custom action that runs the sql scripts. -Original Message- From:

[WiX-users] How to get the path of the installed shortcut?

2008-12-03 Thread ychen
Hi, I'm trying to figure out how to read the path of the installed shortcut into a property. Can I do it without using any custom actions? How? Thanks. -- View this message in context: http://n2.nabble.com/How-to-get-the-path-of-the-installed-shortcut--tp1610619p1610619.html Sent

[WiX-users] Urgent!! Cab files not getting embedded into MSI file

2008-12-03 Thread siri a
Hi there, I have been fighting a problem since two weeks. And now I need to get it resolved as soon as possible. Here is my code, even though I added the Media tag and Set Compressed = "yes" and the EmbedCab = "yes", the CAB file is not getting embedded into my MSI file. I am using msbuild scri

Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file

2008-12-03 Thread Rob Mensching
Never heard of anyone having a problem with that. How do you know that the cabinet was not embedded when you use EmbedCab="yes"? -Original Message- From: siri a [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 13:20 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Urg

[WiX-users] ALLUSERS property and upgrades

2008-12-03 Thread Colin Bleckner
A previous version of my installer erroneously included a ALLUSERS property line: I tried taking it out in my new installer (I want the application to be installed on a per-user basis) but noticed that installing over an old version no longer removes the previous installation. Searching the ma

Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file

2008-12-03 Thread siri a
Thankyou for your reply Rob, I have been using a third party tool called MSIViewer If I take the msi file that is generated by biztalk, I can see the Cab files embedded in them. But If I take the MSI file that I generated using Wix, I cannot see the CAB files I have attached a screenshot of t

Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file

2008-12-03 Thread Rob Mensching
The attachment didn't make it through. Does the package install correctly? -Original Message- From: siri a [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 13:50 To: WIX USERS Subject: Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file Thankyou for your rep

Re: [WiX-users] dynamic ReserveCost

2008-12-03 Thread Rob Mensching
You'd need a CustomAction to add temporary rows to the ReserveCost table. -Original Message- From: Matt Craighead [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2008 18:34 To: wix-users@lists.sourceforge.net Subject: [WiX-users] dynamic ReserveCost Hi all, My application prealloca

[WiX-users] Unable to read the value of a property associated with a checkbox from vbscript

2008-12-03 Thread ychen
Hi, I have a dialog with checkboxes, each of which is associated with a property. These properties are declared under Product element as show below: This is how I declare checkboxes in a dialog. I want to read the values of those properties from vbscript using a custom

Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file

2008-12-03 Thread Neil Sleightholm
In my experience most tools (Orca, InstEd) don't show the CAB file when it is embedded. Neil -Original Message- From: siri a [mailto:[EMAIL PROTECTED] Sent: 03 December 2008 21:50 To: WIX USERS Subject: Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file Thankyou for

[WiX-users] WiX CVS Source

2008-12-03 Thread Neil Sleightholm
On other open source projects I have worked on the source code is updated when bugs are fixed. This gives you the opportunity to see the changes and build the code if you need to work with them or validate them. With WiX this doesn't seem to be the case, the source is not updated until the next rel

Re: [WiX-users] ALLUSERS property and upgrades

2008-12-03 Thread Ian Elliott (Excell Data Corporation)
I think you are stuck with the dialog option. Per-user can only uninstall that user, and per-machine can only uninstall per-machine, AFAIK. -Original Message- From: Colin Bleckner [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 1:38 PM To: General discussion for Windows Inst

Re: [WiX-users] ALLUSERS property and upgrades

2008-12-03 Thread Colin Bleckner
That's unfortunate, thanks for confirming that for me though. Any idea how to craft a Condition element that's based on a previous installation's Product's Version setting? On Wed, Dec 3, 2008 at 2:11 PM, Ian Elliott (Excell Data Corporation) < [EMAIL PROTECTED]> wrote: > I think you are stuck w

Re: [WiX-users] Urgent!! Cab files not getting embedded into MSIfile

2008-12-03 Thread Chad Petersen
I downloaded something just now called MSIViewer. It has four tabs but for my embedded MSI I also don't see any cabs. I know my MSI works just fine to install. If that's the only problem to solve then I want your job...there, done! -Original Message- From: Neil Sleightholm [mailto:[EMAIL P

Re: [WiX-users] ALLUSERS property and upgrades

2008-12-03 Thread Wilson, Phil
The Upgrade stuff is good at detecting specific versions of installed products using UpgradeCode. That can be used to set a property if the product is found. There's a potential sequencing issue because FindRelatedProducts is what detects previous versions, so I'd use a type 19 custom action se

Re: [WiX-users] ALLUSERS property and upgrades

2008-12-03 Thread Wilson, Phil
Hang on - scratch that. FindRelatedProducts will fail because of the per-user/per system stuff. D'oh! That leaves you the Rob impersonation choice. Phil Wilson -Original Message- From: Wilson, Phil Sent: Wednesday, December 03, 2008 2:45 PM To: General discussion for Windows Insta

Re: [WiX-users] ALLUSERS property and upgrades

2008-12-03 Thread Ian Elliott (Excell Data Corporation)
I've used something like the following in the past: Write a custom action that uses MsiEnumProductsEx and if it finds the product call a error message that you author into the error table. Here is some sample code. Assume all the usual disclaimers. :) UINT __stdcall CheckForPreviousRelease (MSIH

Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file

2008-12-03 Thread siri a
Thankyou, but the MSIViewer is showing the Cab Files for the MSI file that is generated by the Biztalk export utility.   Ok, here is what I am trying to do.   I am trying to create an MSI file that need to be imported to Biztalk 06 app using the Biztalk import utility.   When I try to import the

[WiX-users] Uninstall previous version of tool

2008-12-03 Thread webdefence
Hi All. Could anyone please help me. I am writing new installer for our tool . During Installation I need to remove previous versions of our tool. The problem is that each version has different GUID , Is there any special action in MSI that I can use ? I mean is there any table that I can put all

Re: [WiX-users] Uninstall previous version of tool

2008-12-03 Thread Ian Elliott (Excell Data Corporation)
As long as the previous version have an UpgradeCode guid then just author the different guids in the Upgrade table of the new msi's and follow the rules for authoring major upgrades. http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx -Original Me

[WiX-users] (no subject)

2008-12-03 Thread Nathan Fouarge
My company has recently switched from InstallShield installs to wix/msi setups, First off I want to say thank you, WiX has saved so many headaches it isn't even funny, but has created some in the process. I find that Vista is now prompting for permission to run the win32 cabinet self-extractor

Re: [WiX-users] ALLUSERS property and upgrades

2008-12-03 Thread Colin Bleckner
This component search seems promising! When you mentioned a 'component guid' do you mean the Product element's GUID or a GUID for any Component element in the previous version? Hopefully the Component elements as my Product's GUID is *. My plan is to reference one of the current Component's GUID

Re: [WiX-users] ALLUSERS property and upgrades

2008-12-03 Thread Rob Mensching
The "Type" must match the KeyPath of the Component that you are searching for. -Original Message- From: Colin Bleckner [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 15:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ALLUSERS property and

Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file

2008-12-03 Thread Rob Mensching
It sounds like Biztalk expects something that is non-standard in MSI files. -Original Message- From: siri a [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 15:00 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Urgent!! Cab files not getting embedded into MSI file

Re: [WiX-users] Uninstall previous version of tool

2008-12-03 Thread Rob Mensching
Upgrade element. -Original Message- From: webdefence [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 15:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall previous version of tool Hi All. Could anyone please help me. I am writing new installer for our too

Re: [WiX-users] WiX CVS Source

2008-12-03 Thread Rob Mensching
No, there are two masters CVS and a source control system inside Microsoft. This is required because other Microsoft employees are not allowed to work against the Open Source code. I'm responsible for integrating the changes made by Microsoft employees across to CVS and I'm responsible for inco

Re: [WiX-users] Unable to read the value of a property associated with a checkbox from vbscript

2008-12-03 Thread Vuchuru, Surekha (SBT US EXT)
Hi ychen, Try this... //VBScript Session.Property("CHKLEFTPROPERTY") Session.Property("CHKRIGHTPROPERTY") --- This surely worked for me... Thanks and Regards, surekha -Original Message- From: yche

[WiX-users] administrative install Question.

2008-12-03 Thread Arun Kumar A V
Im getting this error when doing "msiexec /a " MSI (s) (B0:58) [19:03:35:236]: Executing op: DatabaseCopy(DatabasePath=C:\Temp\XX\XXInstallv1.5.0.0_Release.msi,,CabinetStreams=XXInstall.cab,AdminDestFolder=C:\Temp\XX\,) MSI (s) (B0:58) [19:03:35:246]: Note: 1: 2203 2: C:\Temp\XX\XXInstallv1.5.0.

[WiX-users] Installing to D: and ORCA errors

2008-12-03 Thread Luke Mason
Hi All, Sorry, this is really long because I've included heaps of samples and logging output. We build various webapps, often for internal use, and normally install them to inetpub. We have some canned wix templates that help with this, and they work very well. We have a webapp that we wish t

Re: [WiX-users] Installing to D: and ORCA errors

2008-12-03 Thread Rob Mensching
Didn't the Windows Installer have a problem where a single drive with more than 4 GB free would cause it to wrap around and think there was no diskspace? There may be a KB article out there about it... I'm not sure if/when it was fixed. -Original Message- From: Luke Mason [mailto:[EMAI

Re: [WiX-users] administrative install Question.

2008-12-03 Thread Rob Mensching
-2147287008 == STG_E_SHAREVIOLATION winerror.h Sharing violation. Does something else have the file locked? -Original Message- From: Arun Kumar A V [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 17:27 To: wix-users@lists.sourceforge.ne

Re: [WiX-users] Installing to D: and ORCA errors

2008-12-03 Thread Luke Mason
When run interactively using msiexec /i, the msi installs successfully. When run using msiexec /i /qn, we receive an error 1603, which seems to imply we're out of disk space. There was a problem in ntfs with winnt, i thought that was fixed by win2k. I thought the nested directory structure wou

[WiX-users] C:\Documents and Settings\All Users\Start Menu\Programs\Startup

2008-12-03 Thread Andrew Ziem (USA Tech)
How do I place a shortcut in this folder? C:\Documents and Settings\All Users\Start Menu\Programs\Startup I tried these pieces but the shortcut ends up in c:\program files\[company]\[app]\All Users startup So I changed Name=" to the directory name, but WIX won't accept characters like col

Re: [WiX-users] C:\Documents and Settings\All Users\Start Menu\Programs\Startup

2008-12-03 Thread Bob Arnson
Andrew Ziem (USA Tech) wrote: > How do I place a shortcut in this folder? > C:\Documents and Settings\All Users\Start Menu\Programs\Startup > Use a Directory element with an Id of StartupFolder. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] (no subject)

2008-12-03 Thread Bob Arnson
Nathan Fouarge wrote: > I believe the prompting is specifically a side effect of packaging with > iExpress. > Yes, IExpress wants to write to a root directory, so it prompts for early elevation. > Is there any way to avoid that prompt? > Don't use IExpress or asAdministrator manifests or

Re: [WiX-users] Installing to D: and ORCA errors

2008-12-03 Thread Bob Arnson
Luke Mason wrote: > When run interactively using msiexec /i, the msi installs successfully. > When run using msiexec /i /qn, we receive an error 1603, which seems to > imply we're out of disk space. > 1603 means two things depending on where you're checking it: 1603The file [2][3] is bei