Create the default directory structure as you normally would in WiX and set the 
id of the 
configurable directory to 'installpath'.  When the user overrides installpath 
on the command line, 
it will change that directory to point at the new path.

Rob

On 11/02/2011 04:11, Rohit Ghule wrote:
> Hi Everybody,
>
> Let me please explain you all the complete scenario.
>
> 1.                   We have created a WIX installer for one of our products. 
> It works according to design.
>
> 2.                   The WIX installer that we have designed has been 
> primarily designed to work on command line.
>
> 3.                   The command line has one of the parameters as 
> installpath, which is used to install the product to that directory.
>
> 4.                   But recently one of the user instead of using the 
> command line, double clicked on the exe&  installed it using the UI. So in 
> that case the product does not get installed at the installpath but instead 
> at C:\
>
> 5.                   We want that case to be handled in a way that if 
> installpath is not available then the installation should default to a path 
> that we would define in the Product.wxs
>
> Can this be done? If anyone wants to see the .wxs file I will be able to 
> provide it.
>
> -- Rohit
>
>
> This communication, including attachments, is confidential and may contain 
> proprietary information intended only for the proposed recipient. Please 
> notify the sender and delete this message if you believe that you have 
> received this message in error or if you are not the proposed recipient. 
> Unauthorized disclosure, copying, or distribution of the information is 
> strictly prohibited. Please also be aware Avalara does not provide 
> client-specific tax management advice. Recipients seeking advice on specific 
> tax matters should conduct their own due diligence and seek advice from a 
> qualified tax practitioner before relying on any information contained herein.
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to