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
--
Vi
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( cP
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.
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:
http://www.nabble.com/Avoid-install-on-removable-drives-tp1764574
4 matches
Mail list logo