cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

InstallScript Function

Here is my dilemma hopefully someone can direct me in the right direction. I have an install that I have to upgrade (was built with Wise). I have the uninstall built already. What I need to do prior to the uninstall is the following:

Copy from UserProfile a directory to a temporary location. Install the application and then copy that same folder to the users O:\ Drive (Network Share). I am trying the following function (Now I am a complete Newbie).

function MyFunction(hMSI)
// To Do: Declare local variables.
STRING svPropertyValue, copyDirSource, copyDirTarget;
NUMBER nBufferSize;
begin
nBufferSize = 256;
copyDirSource = "c:\\Documents And Settings\\USERPROFILE\\.dbvis";
MsiGetProperty(ISMSI_HANDLE, "USERPROFILE", svPropertyValue, nBufferSize);
copyDirTarget = svPropertyValue ^ "C:\\Temp\\.dbvis";
end;


I am just testing the local directory copy. I have not even dabbled into the home drive copy. Any help that anyone could provide would be greatly appreciated.
Labels (1)
0 Kudos
(1) Reply
Not applicable

Any Suggestions for my question?????:(
0 Kudos