Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Chris Matthews
Hi, I do tie the control to the LFM_Server_Root property, but it still doesn't update. What I want to do is on a button click fire a custom control. Within that custom control set a property and when the custom control has finished I want this value to appear on the dialog that the button was

Re: [WiX-users] XML indentation issue after using XMLCONFIG

2008-11-24 Thread Davidovitz, Ran
Good point, I thought something was already implemented -Original Message- From: Richard [mailto:[EMAIL PROTECTED] Sent: Sunday, November 23, 2008 7:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XML indentation issue after using XMLCONFIG In

[WiX-users] adding help using the vsextension

2008-11-24 Thread Sean Farrow
(20081124) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin

Re: [WiX-users] adding help using the vsextension

2008-11-24 Thread Simon Dahlbacka
database 3635 (20081124) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications

[WiX-users] terminate installation based on the CA result

2008-11-24 Thread Egor Sinkevich
Hi All! We're executing several custom actions after files installed (from custom action we're registering some files and doing other things) InstallUISequence Show Dialog=ProgressDlg Before=ExecuteAction / Custom Action=AfterInstallCustomAction After=ExecuteAction ![CDATA[Not

[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie
Hi, I am trying to get information from the user to be used inside a CA after the installfinalize action in the InstallExecuteSequence... I have set up my own dialog with edit controls as follows... Control Id=SQLSERVERCombo Type=Edit X=20 Y=74 Width=320 Height=18 Property=SqlServerAddress/

[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie
Hi, I am trying to get information from the user to be used inside a CA after the installfinalize action in the InstallExecuteSequence... I have set up my own dialog with edit controls as follows... Control Id=SQLSERVERCombo Type=Edit X=20 Y=74 Width=320 Height=18 Property=SqlServerAddress/

[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie
Hi, I am trying to get information from the user to be used inside a CA after the installfinalize action in the InstallExecuteSequence... I have set up my own dialog with edit controls as follows... Control Id=SQLSERVERCombo Type=Edit X=20 Y=74 Width=320 Height=18 Property=SqlServerAddress/

[WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)
Hi: I wrote a MSI file to install my application. It can let user select install path through BrowseDlg. But once user changes the default install path, it cannot remove any file which the MSI has installed. I checked the installation log file. I found that it cannot get the correct

[WiX-users] backuponinstall

2008-11-24 Thread Yu, Brian
Hi there I am trying to backup all files under INSTALLDIR before installation M plan is to use custom action to run a bat file that does the copying. I tried running the bat file as is and deploying the bat file itself first The problem is that MSI InstallFiles action install all files

Re: [WiX-users] Issue with Appsearch Functionality in Wix

2008-11-24 Thread Richard
In article [EMAIL PROTECTED], Natrayan, Venkatesh IN BLR SISL [EMAIL PROTECTED] writes: But when I run the compiled MSI file, it is displaying the Launch condition error, even if the required pre-requisite file is present or not present in the machine. This means your search is not

Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Chris Matthews
I figured out how to do it:- When the user selects the browse button the code I sent previously is run and sets the LFM_SERVER_ROOT property. I then publish a property change event as described on MSDN (http://msdn.microsoft.com/en-us/library/aa371695(VS.85).aspx) and the control I want to change

Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Eitan Behar
Just to close this case: - in case somebody is watching - I reviewed the SQL custom actions in detail and the timeout IS NOT specified. Although in most OLEDBSQL implementations (VB, ADO.NET, etc), the default seems to be something between 15-60 secs, C++ seems to set the default to 0 - no

Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Richard
In article [EMAIL PROTECTED], Chris Matthews [EMAIL PROTECTED] writes: Control Id=MachineName Type=Edit X=57 Y=67 Width=270 Height=16 Property=LFM_SERVER_ROOT TabSkip=no Disabled=yes Subscribe Event=LFM_SERVER_ROOT Attribute=Text/ /Control Does this produce an MSI that passes all

Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Rob Mensching
Feel free to file a feature request. Seems like something that should be configurable. -Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 07:23 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Sql connection

Re: [WiX-users] Property reset to default after installfinialize

2008-11-24 Thread Rob Mensching
A verbose log file will show you when the Property is getting modified. Also, it is possible you're trying to use the Property on the server side of the Windows Installer so the Property would need to be marked Secure=yes. -Original Message- From: hegsie [mailto:[EMAIL PROTECTED] Sent:

Re: [WiX-users] terminate installation based on the CA result

2008-11-24 Thread Rob Mensching
CustomAction/@Return -Original Message- From: Egor Sinkevich [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 03:05 To: wix-users@lists.sourceforge.net Subject: [WiX-users] terminate installation based on the CA result Hi All! We're executing several custom actions after files

Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Chris Matthews
Yes it passes all ICEs. It is just all the other parts of my imported msi that don't currently pass! Christopher Matthews -Original Message- From: Richard [mailto:[EMAIL PROTECTED] Sent: 24 November 2008 15:34 To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Kevin Richardson
You probably want the directory tree to look like this: Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=Program Files Directory Id=MyAppFolder Name=myappname Directory Id=INSTALLDIR / /Directory /Directory /Directory This sets INSTALLDIR to be

Re: [WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie
Thanks, marking the property as Secure fixed the problem instantly... Worked a treat... On Mon, Nov 24, 2008 at 4:15 PM, Rob Mensching-2 (via Nabble) [EMAIL PROTECTED] wrote: A verbose log file will show you when the Property is getting modified. Also, it is possible you're trying to use the

[WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread David Bartmess
I've got to install some files in the C:\INetpub\MyProgram directory for a website, but I'm getting an error stating Error 1 The Directory with Id 'Root' is not a valid root directory. There may only be a single root directory per product or module and its Id attribute value must be 'TARGETDIR'

Re: [WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread Rob Mensching
I encourage you to read through my series on the Directory table. It will provide some foundation information that hopefully makes things a bit more clear: http://blogs.msdn.com/robmen/archive/2006/10/17/deciphering-the-msi-directory-table-part-7-directories-are-properties.aspx (there are

Re: [WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread Chad Miles
Could you drop the root property and dir, and then next the IIS dir(s) under TARGETDIR. That would probalby have to assume that C:\ is the logical drive w/ most available space I believe. Not for certain on this, but I think it would work. On Mon, Nov 24, 2008 at 12:11 PM, David Bartmess [EMAIL

Re: [WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread Chad Miles
next = nest* sorry. On Mon, Nov 24, 2008 at 12:17 PM, Chad Miles [EMAIL PROTECTED] wrote: Could you drop the root property and dir, and then next the IIS dir(s) under TARGETDIR. That would probalby have to assume that C:\ is the logical drive w/ most available space I believe. Not for

Re: [WiX-users] LGHT0001 The operation completed successfully

2008-11-24 Thread Rob Mensching
Not seeing this with the WiX toolset build. Is this still happening in the latest release? -Original Message- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 10:18 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] LGHT0001

Re: [WiX-users] concurrent / parallel builds

2008-11-24 Thread Chris Eldredge
I'm on v3.0.3429.0. I know it's (a) beta and (b) old, but apart from some transient failures it does what we need. Matt Ziegler wrote: I run a continuous integration server and run multiple installer builds at the same time and haven't received this error before. Are the 2 projects in the

Re: [WiX-users] concurrent / parallel builds

2008-11-24 Thread Rob Mensching
That build is a year old. We've made a gazillion bug fixes since then. Because WiX v3 is Beta the expectation is that you're picking up builds at least monthly to stay current and help flush out bugs so we can reach production level quality. If you want a single stable build, WiX v2 is the

Re: [WiX-users] Multiple Instance Transforms Walkthrough, Proposed Simple Addition to WiX to Make Them Easier

2008-11-24 Thread Josh Rowe
Shawny, I apologize for not seeing this post earlier. The wix-users list is pretty high-traffic. Unfortunately, I can't follow up completely right now because the whole file is proprietary to my company. I am, however, slowly working on some stuff which I will be release as open source

Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Richard
In article [EMAIL PROTECTED], Chris Matthews [EMAIL PROTECTED] writes: Yes it passes all ICEs. [...] Interesting. Does it still work if you take out the Subscribe? Control Id=MachineName Type=Edit X=57 Y=67 Width=270 Height=16 Property=LFM_SERVER_ROOT TabSkip=no Disabled=yes

Re: [WiX-users] backuponinstall

2008-11-24 Thread Brian Simoneau
Add the batch file as a Binary and run the custom action before InstallFiles. -Brian Simoneau -Original Message- From: Yu, Brian [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 8:04 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] backuponinstall Hi there I am

Re: [WiX-users] What would be the best way to go about this?...

2008-11-24 Thread Rob Mensching
I would never recommend calling a batch file as part of an install. Rolling back a batch file sounds like a lot of work... especially since batch files don't have any kind of transactionality in them. Can you investigate the CustomActions of the Merge Module more and see if there is some way

Re: [WiX-users] What would be the best way to go about this?...

2008-11-24 Thread Rob Mensching
Sorry, when I say fixed, it sounds like you need to get the CustomActions to understand that they may not always be installed. I say very brittle because when CustomActions have this sort of behavior, they usually have problems with repair scenarios which are also important for patching... and

Re: [WiX-users] LGHT0001 The operation completed successfully

2008-11-24 Thread Neil Sleightholm
I did reply before but may be it got lost: It was working from msbuild and the command line but failing in VS. Now the problem has gone away! The only difference was that I had changed the source rather than rebuilding existing source. I can't reproduce it again. Neil Neil Sleightholm X2

Re: [WiX-users] LGHT0001 The operation completed successfully

2008-11-24 Thread Rob Mensching
Okay, thanks. In case it wasn't clear by now, I often lose email in the flood. sigh/ Glad we don't have to run this down... wasn't sure where to start. -Original Message- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 11:02 To: General discussion for

Re: [WiX-users] Certificate install to local machine fails with code 26352

2008-11-24 Thread Rob Mensching
As noted in my bug comment, the other code is commented out. I changed the only location that was actually being executed. Ultimately, I don't think this change did anything. -Original Message- From: Chris Bardon [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 12:43 To:

[WiX-users] WixWiki issues

2008-11-24 Thread Chris Lord
Hello, Want to look up some things in the Wixwiki but all I get is blank pages. The search works but any page I select shows no information. Is it me or is there a problem? Thanks Chris - This SF.Net email is sponsored

Re: [WiX-users] WixWiki issues

2008-11-24 Thread Rob Mensching
I can see everything fine. -Original Message- From: Chris Lord [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 11:52 To: wix-users Subject: [WiX-users] WixWiki issues Hello, Want to look up some things in the Wixwiki but all I get is blank pages. The search works but any page

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-24 Thread Love88Keys
Well, I think I didn´t point my problem exactly. I´ve got an EXE which ist only needed during install, uninstall or modify process. My first idea was -of course- to do a CustomAction with BinaryKey. But : 1. the EXE requires a dll and I don´t know how to refer to that. 2. I´m not shure if my EXE

[WiX-users] Uninstall error :A program required for this install to complete could not be run

2008-11-24 Thread Joe Osman
I am installing a .cmd file and I run it during the installation using a Custom Action. When I run the uninstall I get the following error message: There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support

Re: [WiX-users] Uninstall error :A program required for this installto complete could not be run

2008-11-24 Thread Han Sheng
Hi joe, you put ur custom action as check. If your exe returns a value 0, it means it fails. Try changing the return value to ignore. - Tony -- From: Joe Osman [EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 7:20 AM To: General discussion for

Re: [WiX-users] Uninstall error:A program required for thisinstallto complete could not be run

2008-11-24 Thread Joe Osman
Thinks Tony. If I put it to Ignore, how can I check for errors in the exe execution? Han Sheng wrote: Hi joe, you put ur custom action as check. If your exe returns a value 0, it means it fails. Try changing the return value to ignore. - Tony

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)
Thanks, what I did is same as what you suggested. The difference is yours CA has condition but mine is setting the INSTALLDIR property immediately. I checked some sample code of Wix, and found that some of them do not use registry to store install path and can also get user specified path when

Re: [WiX-users] Uninstall error:A program requiredfor thisinstallto complete could not be run

2008-11-24 Thread Han Sheng
hi joe, you can try using: if %errorlevel%==0 EXIT 0 if %errorlevel%==1 EXIT %errorlevel% Quits the CMD.EXE program (command interpreter) or the current batch script. EXIT [/B] [exitCode] /B specifies to exit the current batch script instead of CMD.EXE. If executed

[WiX-users] strange behavior of Localized display name for shortcuts

2008-11-24 Thread Ali-Akber Saifee
I guess this is more of an operating system problem than a WiX / MSI one but lets see if anyone else has hit it. Scenario-1 1. Shortcut created in a sub folder of 'Start menu' called 'xyz.lnk'. The 'Name' column for this shortcut is localized (i.e. transformed via language

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-24 Thread Eitan Behar
Why don't you include the EXE and the DLL as well in the Binary table ? If your file is only needed for maintenance (install, repair, uninstall), then do not deploy it. If I remember correctly, all files in the Binary table are extracted to the same folder during (un)installation.

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)
BTW, if the registry which storing the install path be deleted by user or some other applications, can the uninstall get the correct install path ? -Original Message- From: Jianjun An (Person Consulting) [mailto:[EMAIL PROTECTED] Sent: 2008/11/25 11:41 To: Kevin Richardson Cc:

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Bob Arnson
Jianjun An (Person Consulting) wrote: How can I do that? I am seeking a way not using registry. What do you need it for? MSI will automatically remove the components it installs. -- sig://boB http://joyofsetup.com/