Travails of an ungeeker

Friday, August 25, 2006

Problem with VS 2003 Setup Project default values in MSI

Under User Interface, if you add a Textboxes dialog to collect a parameter for a folder path, and then supply a default path e.g. using Edit1Value then you might get this strange problem:

1) The user runs the MSI and edit the default say s:\wwwroot changing the value to c:\wwwroot.
2) Later when the user uninstalls the package from Add/Remove programs, the installer fails:

Invalid drive: s:\

Note that s: did not exist on install either. Interim solution: remove the default!
Anyone else have something like this?

0 Comments:

Post a Comment

<< Home