Re: [WiX-users] Running 64-bit executables silently

2009-03-16 Thread sandun css
Hi Michael, I tested with your code. But the installer failed. found following lines in the log. CAQuietExec64: Error 0x80070057: failed to get command line data CAQuietExec64: Error 0x80070057: failed to get Command Line Then I modified it as follows, This code starts a powershell proce

Re: [WiX-users] fold not being removed on uninstall: sporadic

2009-03-16 Thread Jim Williams
Is your custom action synchronous or asynchronous? If asynchronous, perhaps your custom action isn't finishing in time before the attempt to delete the folders is done. Jim Williams -Original Message- From: Adam Langley [mailto:alang...@winscribe.com] Sent: Monday, March 16, 2009 7:35 P

[WiX-users] fold not being removed on uninstall: sporadic

2009-03-16 Thread Adam Langley
I have a WiX generated installer which copies some simple files into a directory structure under ProgramFiles. The issue is, _sometimes_ (about 50% of the time), uninstallation fails to remove these folders - with no errors in the log file. My WiX looks like this:

Re: [WiX-users] removing application files on uninstall

2009-03-16 Thread Bob Arnson
Peter Moresi wrote: > What is the best technique to ensure that application files/folders are > deleted on uninstall (even if the security permissions or files are changed)? > Unless the ACLs prohibit LocalSystem from deleting, MSI will have the permissions to do so. -- sig://boB http://joy

Re: [WiX-users] Can FeatureGroupRef be a child of FeatureRef?

2009-03-16 Thread Bob Arnson
Castro, Edwin (Hillsboro) wrote: > Was this a documentation bug or an implementation bug? > Either. -- sig://boB http://joyofsetup.com/ -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are pow

Re: [WiX-users] System reboot and WinLogo requirements

2009-03-16 Thread Bob Arnson
Yan Sklyarenko wrote: > So, what's the compromise? Is it a good practice to suppress reboot > setting the REBOOT property? What's the best practice working with > "reboot mechanism" in general? > Prompt the user to close the app that keeps the files locked. If not possible, take the reboot. -

Re: [WiX-users] Showing a bitmap image

2009-03-16 Thread Bob Arnson
Sudripta Nandy (Sarangsoft Corporation) wrote: > Please let me know, what am I doing wrong. I also had tried with a 24-bit bmp > image but, had no luck. Why is the bitmap not getting shown? > What does your Binary element look like? -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Creating x86 and x64 MSIs

2009-03-16 Thread Bob Arnson
troy hostetter wrote: > Struggling here. These two WiX configurations are throwing build errors. What errors? > First configuration .. getting end tag errors: > The text between and must be valid XML; it's not legal to conditionalize just the start tag of an element. > Second configura

Re: [WiX-users] HEAT generates un-compilable code

2009-03-16 Thread Bob Arnson
David Bartmess wrote: > The HEAT.EXE program generates the correct Class and other items for a > specified DLL, but when I try to compile it I get: > > [exec] > C:\Dev\Code\WSOD\Apps\Products\Maestro\Client\Install\Trunk\Interop.Redemption.wxs(38,0): > error CNDL0044: The Class element's Fo

Re: [WiX-users] HEAT generates un-compilable code

2009-03-16 Thread Neil Sleightholm
In my experience Interop files don't need to be registered, so you could just remove the class information. Also, in your bug report it would be useful if you could include a sample wxs output and if possible the file that is causing the problem. Neil -Original Message- From: David Bartme

[WiX-users] HEAT generates un-compilable code

2009-03-16 Thread David Bartmess
The HEAT.EXE program generates the correct Class and other items for a specified DLL, but when I try to compile it I get: [exec] C:\Dev\Code\WSOD\Apps\Products\Maestro\Client\Install\Trunk\Interop.Redemption.wxs(38,0): error CNDL0044: The Class element's ForeignServer or Server attribute w

Re: [WiX-users] Can FeatureGroupRef be a child of FeatureRef?

2009-03-16 Thread Castro, Edwin (Hillsboro)
Opened bug 2689061. > -Original Message- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: Saturday, March 14, 2009 10:25 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Can FeatureGroupRef be a child of FeatureRef? > > Castro, Edwin (Hillsbo

[WiX-users] Showing a bitmap image

2009-03-16 Thread Sudripta Nandy (Sarangsoft Corporation)
In my setup program, I am creating a simple dialog with an image at the top of the dialog. But, the image is not getting shown. The dialog entry looks like below:

[WiX-users] removing application files on uninstall

2009-03-16 Thread Peter Moresi
What is the best technique to ensure that application files/folders are deleted on uninstall (even if the security permissions or files are changed)? Thanks! Peter -- Apps built with the Adobe(R) Flex(R) framework and

[WiX-users] Running a custom action on a push-button click

2009-03-16 Thread Sudripta Nandy (Sarangsoft Corporation)
In my setup program, I have a dialog with some edit boxes. The user needs to enter some values in these edit boxes. I need to validate the values entered by the user using a custom actions routine as soon as the user clicks the 'Next >' push button. For this I have associated some properties wit

Re: [WiX-users] Can FeatureGroupRef be a child of FeatureRef?

2009-03-16 Thread Castro, Edwin (Hillsboro)
Was this a documentation bug or an implementation bug? 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 this e-mail > -Original Message- > From: Bob Arnson

Re: [WiX-users] Executing PowerShell Silently Hangs Install

2009-03-16 Thread Castro, Edwin (Hillsboro)
PowerShell v1.0 doesn't have a -file argument. It does have a -command argument which I'm using. Through trial and error I've discovered that it also works by omitting -command (on the command line at least). I typically setup my command line as follows (without the line breaks and additional s

Re: [WiX-users] Example HEAT command line?

2009-03-16 Thread Weber Stefan (IT)
Heat file thedll.dll -out test.wxs Stefan -Ursprüngliche Nachricht- Von: David Bartmess [mailto:david.bartm...@wallst.com] Gesendet: Montag, 16. März 2009 17:46 An: 'General discussion for Windows Installer XML toolset.' Betreff: [WiX-users] Example HEAT command line? Could someone send

[WiX-users] Example HEAT command line?

2009-03-16 Thread David Bartmess
Could someone send an example of how to use heat to extract information from a DLL? I've been trying to use it, but I can't seem to get the command correct, because it just keeps showing me the help text. What I've been using is "heat file interop.redemption.dll > test.wxs", and nothing happen

[WiX-users] System reboot and WinLogo requirements

2009-03-16 Thread Yan Sklyarenko
Hello WiX community, This question is of "what's the best practice" type. :) According to SDK, if Windows Installer tries to remove a file in use, which is not EXE, doesn't have a window with title (and a couple of more conditions), it just sets the ReplacedInUseFiles property to 1, and hence wil

Re: [WiX-users] read return value of VBScript in wix

2009-03-16 Thread Hukumchand Shah
Thank you very much. On Mon, Mar 16, 2009 at 7:51 PM, wrote: > Runtime or compile time? > > Session.Property("STANDALONESERVER")="TRUE" > > sets the STANDALONE msi property to TRUE > > Kind regards, > > Hans > > On Mon, March 16, 2009 14:38, Hukumchand Shah wrote: > > Hi, > > > > I want to read

[WiX-users] Visual Studio 64 bit

2009-03-16 Thread Henk Roos
Hi there, Just want to ask if someone knows how to tell visual studio to put the Platform="x64" into the wix project file automatically when that platform is selected. Currently how we do it is the following: And then we say Platform="$(var.plat)"/> in the wix proje

Re: [WiX-users] Executing PowerShell Silently Hangs Install

2009-03-16 Thread Andrew Lee
Castro, Edwin (Hillsboro) wrote: > I've seen many people report that they are running powershell custom actions > successfully but I can't seem to find any examples of how they do it. My goal > is to run powershell silently. > [...SNIP...] > When I run my installer I notice that the progress bar

Re: [WiX-users] Running 64-bit executables silently

2009-03-16 Thread Michael
Hi Sandun, Your code must be like this, Get a log by executing .msi file in command line as follows, msiexec /i /L*v send the log. -SMR sandun css wrote: > Hi Michael, > > Thanks for the reply. > > I tryed with this, > > Value=""[POWERSHELLEXE]" [INSTALLDIR]scripts\Install.ps1"/> >

Re: [WiX-users] read return value of VBScript in wix

2009-03-16 Thread post
Runtime or compile time? Session.Property("STANDALONESERVER")="TRUE" sets the STANDALONE msi property to TRUE Kind regards, Hans On Mon, March 16, 2009 14:38, Hukumchand Shah wrote: > Hi, > > I want to read return value from vbscript function from wix. > OR > Is there any way to change wix pro

Re: [WiX-users] Creating x86 and x64 MSIs

2009-03-16 Thread troy hostetter
Bob - Struggling here. These two WiX configurations are throwing build errors. I don't want to create 2 separate component defs for x86 and x64. Please help :) First configuration .. getting end tag errors:

[WiX-users] read return value of VBScript in wix

2009-03-16 Thread Hukumchand Shah
Hi, I want to read return value from vbscript function from wix. OR Is there any way to change wix property value from vbscript. I am doing some processing in vbscript. Please help.it's urgent. Thanks & Regards, Hukum --

Re: [WiX-users] How do I check UserName and Password

2009-03-16 Thread Michael
Hi, I found the how to run custom action within control. my code is below, (Within "Next" Control) 1 1 my custom action dll will set the property VALIDATEUSER = 1, if username and password valid. But, When I click Next there is no action in Installer.

Re: [WiX-users] Running 64-bit executables silently

2009-03-16 Thread sandun css
Hi Michael, Thanks for the reply. I tryed with this, But it doesn't run the powershell script. don't I need the following action? On Mon, Mar 16, 2009 at 5:07 PM, Michael wrote: > Hi, > > Value=""[POWERSHELLEXE]" [INSTALLDIR]scripts\Install.ps1"/> > > try this. > > > sandun css wrote: >

Re: [WiX-users] Running 64-bit executables silently

2009-03-16 Thread Michael
Hi, try this. sandun css wrote: > Hi, > > I was trying to run a powershell script in powershell 64 bit version. (using > CAQuietExec64) > > > Value=""[POWERSHELLEXE]" [INSTALLDIR]scripts\Install.ps1" Execute= > "immediate" Return="check" /> > > > But, this doesn't seem to be working! > > How

Re: [WiX-users] Running 64-bit executables silently

2009-03-16 Thread Michael
Hi Sandun, Try this statement. sandun css wrote: > Hi, > > I was trying to run a powershell script in powershell 64 bit version. (using > CAQuietExec64) > > > Value=""[POWERSHELLEXE]" [INSTALLDIR]scripts\Install.ps1" Execute= > "immediate" Return="check" /> > > > But, this doesn't seem to

[WiX-users] Running 64-bit executables silently

2009-03-16 Thread sandun css
Hi, I was trying to run a powershell script in powershell 64 bit version. (using CAQuietExec64) But, this doesn't seem to be working! How to get it done? Thanks, Sandun -- Apps built with the Adobe(R) Flex(R) framew