CopyFiles to Mapped drive fails
Found strange bug (or I missed something) here. If I map a network path to a drive (let's say Z:\\, then I'm able to create a directory in Z:\\, I'm able to copy files to the root of Z:\\, I can create a file on Z:\\, but when I'm trying to copyfiles to a directory created in Z:\\, then copy fails...
SharedEvaLocation:
IfFileExists $SharedEvaLocationPath\indiegroup\*.* next CreateIndieGroupFolder
CreateIndieGroupFolder:
DetailPrint "IndieGroupFolderDoesNotExist --> Creating directory $SharedEvaLocationPath\indiegroup"
CreateDirectory $SharedEvaLocationPath\indiegroup
Goto next
next:
IfFileExists $SharedEvaLocationPath\indiegroup\eva\applications\${APPLICATIONID}\*.* FinishCopyEvaFolderStructure AppNotRegistered
AppNotRegistered:
DetailPrint "CopyFiles /SILENT $INSTDIR\indiegroup $SharedEvaLocationPath\indiegroup"
CopyFiles $INSTDIR\usermanagement\*.* "$SharedEvaLocationPath"
Goto FinishCopyEvaFolderStructure
Very strange and I can't seem to figure out why. Even more strange is that when I use the path to the networklocation (\\server\\...) instead of the mapped network drive, it does work... (really, it makes no sense at all but it's like that).
Thx, Lieven Cardoen, Indie Group