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).
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
Thx, Lieven Cardoen, Indie Group