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

2009-03-16 Thread Michael
Hi, How do I run custom action on clicking Next button? I have custom action to check username and password. I need to run that custom action on clicking Next button? If username and password is error, an error message must display that invalid username and password. Please help me out.

[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) CustomAction Id=SetInstallScriptParameter Property=InstallScriptAction Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1 Execute= immediate Return=check / CustomAction

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

2009-03-16 Thread Michael
Hi Sandun, CustomAction Id=SetInstallScriptParameter Property=*QtExecCmdLine* Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1 / CustomAction Id=InstallScriptAction BinaryKey=WixCA DllEntry= CAQuietExec64 Execute=deferred Return=check Impersonate=no/ Try this statement. sandun

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

2009-03-16 Thread Michael
Hi, CustomAction Id=SetInstallScriptParameter Property=QtExecCmdLine Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1/ try this. sandun css wrote: Hi, I was trying to run a powershell script in powershell 64 bit version. (using CAQuietExec64) CustomAction

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

2009-03-16 Thread sandun css
Hi Michael, Thanks for the reply. I tryed with this, CustomAction Id=SetInstallScriptParameter Property=QtExecCmdLine Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1/ But it doesn't run the powershell script. don't I need the following action? CustomAction

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) Publish Event=DoAction Value=CheckUser.Property1/Publish Publish Event=DoAction Value=CheckUser1/Publish Publish Event=SpawnWaitDialog Value=InvalidUserDlg![CDATA[

[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] 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: ?if $(loc.Win64)=yes ? Component

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 property

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

2009-03-16 Thread Michael
Hi Sandun, Your code must be like this, CustomAction Id=SetInstallScriptParameter Property=QtExecCmdLine Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1 Execute= immediate Return=check / CustomAction Id=InstallScriptAction BinaryKey=WixCA DllEntry= CAQuietExec64

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

[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: ?if $(var.Platform) = x86 ? ?define is64 = no ? ?define PFolder =

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, p...@hoaske.dk 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 return

[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 will

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

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

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

[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

[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] 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: Dialog Id=EulaDlg Width=370 Height=270 Title=My Product NoMinimize=yes Control Id=NextButton

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 (Hillsboro)

[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

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

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

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 ?if? and ?else? must be valid XML; it's not legal to conditionalize just the start tag of an element. Second

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] 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] 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

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

[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: Directory

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