Wilbert - When it's a recompilation for Windows of Unix software, spaces
can be a problem...

S.P. - I have the same problem (I compile a distribution of Perl for
Microsoft Windows and create its installer using WiX.)

For how to connect it in to an WixUI_InstallDir UI, look at lines
152-230 of the following file: (the B_ClearFolder key is on line 104 of
that file.)

http://fisheye2.atlassian.com/browse/cpan/trunk/Perl-Dist-WiX/share/Main.wxs.tt?r=11797

For the custom action you'll need, here's source you can use:

http://fisheye2.atlassian.com/browse/cpan/trunk/Perl-Dist-WiX/src/ClearFolderCA/ClearFolderCA/CheckForSpaces.cpp?r=11626

--Curtis Jewell

On Tue, 30 Mar 2010 10:11 +0200, "Wilbert van Dolleweerd"
<wilb...@arentheym.com> wrote:
> Should properly written Windows software not be able to work with a space
> in
> a path?
> 
> I mean: installation usually occurs in 'Program Files'. This already has
> a
> space in the path. If your software cannot handle this, maybe you should
> change the software...
> 
> 2010/3/30 S.P <iraniangirl9...@yahoo.com>
> 
> > Dear All,
> >
> > One of the files which is going to be installed on the target machine can
> > not work if there is a space in the path, so I need to check the install
> > path to ensure there is no space in it.
> >
> > Dose any body have a sample code to check space in the target path?
> >
> > I need to show a custom warning dialog to the user if he use an install
> > path with space, and return to the last dialog to select the installation
> > path again.
> >
> > Please provide me a CODE to do this
> >
> > Thanks in advance
> >
> >
> >      New Email names for you!
> > Get the Email name you've always wanted on the new @ymail and @rocketmail.
> > Hurry before someone else does!
> > http://mail.promotions.yahoo.com/newdomains/aa/
> >
> > ------------------------------------------------------------------------------
> > Download IntelĀ® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> 
> 
> 
> -- 
> Met vriendelijke groet / kind regards,
> 
> Wilbert van Dolleweerd
> Blog: http://walkingthestack.blogspot.com/
> Twitter: http://www.twitter.com/wvandolleweerd
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
--
Curtis Jewell
swords...@csjewell.fastmail.us

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and pictures in 
HTML mail]


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to