--
--
Victor Heijke
Microsoft Certified Professional
Software architect at Flores Automatisering
Amsterdam, the Netherlands
http://www.flores.nl
You shouldn't really be installing from a mapped drive letter. They're not
system-wide, they're specific to the current user. A product installed for
all users and then used by another user may not even see a Y drive that
Windows will ask for if it needs to access the original install MSI file.
--
Phil Wilson
"VictorH" <Vic...@discussions.microsoft.com> wrote in message
news:3DDCDEB8-09B8-4C4C...@microsoft.com...
I agree to that, but tell that to our cliënts who use our software.
Stupid thing is that the setup itself (installing the dll's etc.) is fully
working, but passes the SourceDir with drivemapping to another user account.
Seems a design misstake in Windows Installer :-(
Anyone an idea how to get the UNC path in sourcedir when installing from a
drivemapping?
1. Uses WNetGetConnection to convert the drive to a UNC path.
2. Use the Windows Installer APIs MsiSourceListClearAll () to delete the
drive letter and MsiSourceListAddSource () to add the UNC path.
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"VictorH" <Vic...@discussions.microsoft.com> wrote in message
news:2DCDFDAA-3B5C-4093...@microsoft.com...