Hi Pally,

Thanks a lot for your answers. Actually in a major upgrade the last used 
directory used for installation is shown in the dialog, but the user 
could still _change_ it, so I think I'll have to go with your first 
answer. I will investigate on how to do it.

Thank you,
MeCoco

On 1/10/2011 2:59 PM, Pally Sandher wrote:
> Actually having just run a couple of major upgrades, my advice is to do
> nothing. It works as per your requirements without any changes.
>
> Palbinder Sandher
> Software Deployment&  IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the<Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
> -----Original Message-----
> From: Pally Sandher [mailto:pally.sand...@iesve.com]
> Sent: 10 January 2011 13:07
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Let the user choose the installation directory
> onlyon first install, and not on updates
>
> I assume by "update" you mean major upgrades?
> You could simply Condition the calls to InstallDirDlg from
> LicenseAgreementDlg&  VerifyReadyDlg appropriately so it only shows
> during first install.
>
> Palbinder Sandher
> Software Deployment&  IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the<Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP Email Disclaimer
>
> -----Original Message-----
> From: MeCoco [mailto:vcotirl...@hotmail.com]
> Sent: 07 January 2011 15:51
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Let the user choose the installation directory only
> on first install, and not on updates
>
> Hi all,
>
> I have the requirement to change the installer to do the following:
> - on first install to give the user the chance to choose the
> installation directory
> - on updates _not_ to give the user the option to chose the installation
> directory (the directory used for the previous installation will be used
> for updates by default)
>
> I'm using right now:
> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />  <UIRef
> Id="WixUI_InstallDir" />  <UIRef Id="WixUI_ErrorProgressText" />
>
> I assume, theoretically, I could do one of the following:
> - either somehow disable the "Change" button on the Installation
> directory Dialog, in case of updates
> - or to show on first installation the WixUI_InstallDir and on updates
> the WixUI_Minimal
>
> But I don't know how to implement any of above. Can somebody give me
> some ideas?
>
> Thanks!
> MeCoco
>
> ------------------------------------------------------------------------
> ------
> Gaining the trust of online customers is vital for the success of any
> company
> that requires sensitive data to be transmitted over the Web.   Learn how
> to
> best implement a security strategy that keeps consumers' information
> secure and instills the confidence they need to proceed with
> transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------
> ------
> Gaining the trust of online customers is vital for the success of any
> company
> that requires sensitive data to be transmitted over the Web.   Learn how
> to
> best implement a security strategy that keeps consumers' information
> secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to