Re: [WiX-users] Avoid install on removable drives

2010-05-02 Thread Andy.Kruger
Ok this one's cool. But I want to use an immediate CA in the UI sequence which can prevent the user from selecting the removable drive itself. I suppose this VC++ CA needs to be elevated and we should pass the appDrive value to a deferred CA?? - Andy MSI Developer Schneider Electric --

Re: [WiX-users] Avoid install on removable drives

2010-04-30 Thread Andy.Kruger
Anybody??? - Andy MSI Developer Schneider Electric -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Avoid-install-on-removable-drives-tp711163p4984485.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Avoid install on removable drives

2010-04-30 Thread Sanjay Rao
this C++ custom action can check drive type. use a C++ custom action and display a error message if drive is not valid. //char AppPath[_MAX_PATH]; char appName[_MAX_PATH]; char appDir[_MAX_PATH]; char appDrive[_MAX_PATH]; _splitpath_s(

[WiX-users] Avoid install on removable drives

2008-06-05 Thread Anidil
I have tried using Removable=no with the PathEdit control inside the BrowseDlg but it gives an error while building the MSI.Can anybody give an insight on how to avoid install on removable drives -- View this message in context: