In article <[email protected]>,
"Curtis Jewell" <[email protected]> writes:
> Can I do something like this to hardcode the installation directory?
> Or is there another way to do this?
Hardcoding the installation directory is a bad idea. You can provide
defaults and a constraint check that doesn't allow destinations with a
space, but hardcoding it is going to be a problem. Not everyone has
a writable C: or D: or whatever. You're better off picking a
reasonable default and then allowing them to browse to whatever folder
they want and then checking for the folder including a space. (Even
if it does include a space, you can use the short filename for the
path, which won't have a space, i.e. C:\Program Files becomes
C:\PROGRA~1.)
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Legalize Adulthood! <http://blogs.xmission.com/legalize/>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users