PDA

View Full Version : disk image versus package issues



ekarim
10-20-2009, 11:22 AM
I have an Installsript that runs and copy files in a directory and all its subdirectories to a selected location. I am using Xcopyfile.

The problem I am running into is when I run the application from within Installshield it works (Releases ->Single_EXE_IMAGE->Disk Image->Disk1->setup.exe), but when I run the created package it doesn't (Releases ->Single_EXE_IMAGE->Package->Appname.exe) it doesn't.

Any insight would be greatly appreciated.

Regards, Karim

ekarim
10-20-2009, 11:51 AM
I found the problem but I am puzzled with this weird behaviour:

When I step through the code using Build->debug the following line of code

SDIR = SRCDISK ^ "\\Documentation" ^ "*.*";

returns "D:\documentation\*.*"

When I step through the code using Build->debug Package the same line of code

SDIR = SRCDISK ^ "\\Documentation" ^ "*.*";

returns "C:\documentation\*.*"


in both instances I am running from thr CDROM (D drive)

Hopefully someone can shed some light on this.