Re: [WiX-users] Display dialog despite LIMITUI
That is a good idea. The problem is that the property still appears in the Log if I set it on the command line. Here is how I declared it in WiX: Here is how I set it: msiexec /i TestProject1.msi /l* log.txt TEST=abc And this is in the log file: Property(S): TEST = abc Thorsten > -Original Message- > From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] > Sent: 21 December 2010 16:08 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Display dialog despite LIMITUI > > You can't. Instead, define a hidden, public property for the password and add > a launch condition that aborts the installation if the property isn't defined. > > For the instances where LIMITUI and /quiet aren't specified, you can add the > dialog in the UISequence as normal. > > > -Original Message- > From: Thorsten Tarrach [mailto:thors...@atomia.com] > Sent: 21 December 2010 14:53 > To: 'General discussion for Windows Installer XML toolset.' > Subject: [WiX-users] Display dialog despite LIMITUI > > Hi, > > > > I generally want the installation to be silent or with the basic UI, except that it > should ask the user for a password if that is not specified. > > > > So I basically want to display one dialog no matter that LIMITUI is set or that > /quiet is specified. How can I force a dialog to open anyway, depending on > some conditions. > > > > Thanks, > > Thorsten > > > -- > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how to connect the dots, take > your collaborative environment to the next level, and enter the era of Social > Business. > http://p.sf.net/sfu/lotusphere-d2d > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > SDL PLC confidential, all rights reserved. > If you are not the intended recipient of this mail SDL requests and requires > that you delete it without acting upon or copying any of its contents, and we > further request that you advise us. > SDL PLC is a public limited company registered in England and Wales. > Registered number: 02675207. > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire > SL6 7DY, UK. > > > -- > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how to connect the dots, take > your collaborative environment to the next level, and enter the era of Social > Business. > http://p.sf.net/sfu/lotusphere-d2d > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Display dialog despite LIMITUI
You can't. Understand that /quiet ( /qn ) means that the UI sequence is skipped and only the execute sequence is displayed. That means no dialogs will be displayed. As an aside, trying to place dialogs in the execute sequence results in a validation error and the installer will just skip over your dialog. Now best practice would be to return a failure exit code. After all silent means silent. If someone was tryign to deploy your package with SMS/SCCM and it threw up a dialog no one would ever be able to see it and you'd have to wait for the package time out window to expire before ever getting a failure message. So if you really really want to do what you want to do, you will have to write a custom action that provides it's own UI. ( e.g. MessageBox() ) 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 --- On Tue, 12/21/10, Thorsten Tarrach wrote: > From: Thorsten Tarrach > Subject: [WiX-users] Display dialog despite LIMITUI > To: "'General discussion for Windows Installer XML toolset.'" > > Date: Tuesday, December 21, 2010, 8:53 AM > Hi, > > > > I generally want the installation to be silent or with the > basic UI, except > that it should ask the user for a password if that is not > specified. > > > > So I basically want to display one dialog no matter that > LIMITUI is set or > that /quiet is specified. How can I force a dialog to open > anyway, depending > on some conditions. > > > > Thanks, > > Thorsten > > -- > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Display dialog despite LIMITUI
I doubt it's possible, it seems to go against the spirit and the letter of the Windows Installer SDK documentation at: http://msdn.microsoft.com/en-us/library/aa372391(v=vs.85).aspx Maybe you should make your own custom ui? As ever tramontana's tutorial is probably useful for you: http://www.tramontana.co.hu/wix/lesson8.php -Original Message- From: Thorsten Tarrach [mailto:thors...@atomia.com] Sent: Tue 21/12/2010 2:53 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Display dialog despite LIMITUI Hi, I generally want the installation to be silent or with the basic UI, except that it should ask the user for a password if that is not specified. So I basically want to display one dialog no matter that LIMITUI is set or that /quiet is specified. How can I force a dialog to open anyway, depending on some conditions. Thanks, Thorsten -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Display dialog despite LIMITUI
You can't. Instead, define a hidden, public property for the password and add a launch condition that aborts the installation if the property isn't defined. For the instances where LIMITUI and /quiet aren't specified, you can add the dialog in the UISequence as normal. -Original Message- From: Thorsten Tarrach [mailto:thors...@atomia.com] Sent: 21 December 2010 14:53 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Display dialog despite LIMITUI Hi, I generally want the installation to be silent or with the basic UI, except that it should ask the user for a password if that is not specified. So I basically want to display one dialog no matter that LIMITUI is set or that /quiet is specified. How can I force a dialog to open anyway, depending on some conditions. Thanks, Thorsten -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Display dialog despite LIMITUI
Hi, I generally want the installation to be silent or with the basic UI, except that it should ask the user for a password if that is not specified. So I basically want to display one dialog no matter that LIMITUI is set or that /quiet is specified. How can I force a dialog to open anyway, depending on some conditions. Thanks, Thorsten -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users