Installer magic of setup project

Got a case help the other day: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=476401, which is about backslashes trimmed of a UNC path starting with "\\" as /SourceDir="[SourceDir]\".
Think of a workaround for him:
            if (Regex.IsMatch(srcDir, @"\\[^\\].*"))
                srcDir 
= "\\" + srcDir;

Had not noticed that a guy has blogged that: http://blogs.msdn.com/helloworld/archive/2008/04/08/customactiondata-and-user-defined-path.aspx

But the installer class and CA is really helpful to those DTG guys, I may later blog further about it when at free.
posted @ 2009-07-31 17:29  Figo Fei  阅读(405)  评论(0编辑  收藏  举报