PDA

View Full Version : Changing target location for a directory???



NewsArchive
12-10-2001, 01:00 AM
Hi,
I am having property APPID18 in Directory table.This property is for a
destination folder of a component.I want to change the target path of the
this property using the installscript in Developer 7.
I searched the newsgroup and found the solution to use the MsiSetTargetPath.

The call MsiSetTargetPath ( ISMSI_HANDLE, "APPID18", "C:\\a") in
OnFirstUIBefore returns 0 which indicates succefull execution of the call,
but during installation, setup copies the files under the default location
INSTALLDIR not in
"c:\a".??
I tried FeatureSetTarget and componentSetTarget but did not solve the
problem.

Please help !!!!
Thanks,
-Aslam

NewsArchive
12-10-2001, 01:00 AM
Note: Following KB article on Installshield web site does not show any
content.
Q105723 - HOWTO: Setting a Directory Table Entry At Runtime Nov 01,2001

"Aslam" <aslam@askme.com> wrote in message
news:3c15022f$1@news.installshield.com...
> Hi,
> I am having property APPID18 in Directory table.This property is for a
> destination folder of a component.I want to change the target path of the
> this property using the installscript in Developer 7.
> I searched the newsgroup and found the solution to use the
MsiSetTargetPath.
>
> The call MsiSetTargetPath ( ISMSI_HANDLE, "APPID18", "C:\\a") in
> OnFirstUIBefore returns 0 which indicates succefull execution of the call,
> but during installation, setup copies the files under the default location
> INSTALLDIR not in
> "c:\a".??
> I tried FeatureSetTarget and componentSetTarget but did not solve the
> problem.
>
> Please help !!!!
> Thanks,
> -Aslam
>
>