Tuesday, 21 June 2011

Copy the files from C:\ to C:\ProgramFiles from destination

1. Go to MSI Script in CustomAction section

2. Select Normal Installation and goto Execute Immediate.

3. Under InstallFinalize

   Put If condition and set the condition as "NOT Installed and NOT PATCH"

4. Under that select "Execute Program From Destination"
1. CustomActionName : Copy_Files
2. Working Directory : SystemFolder
3. EXE and CommandLine     : cmd /c xcopy "C:\Nemo Tools\Nemo Analyze Datastore\." "C:\Program Files\Anite\Nemo Tools\Nemo Analyze Datastore" /D /S /C /I /Q /H /R /Y

Under Properties Tab
-------------------------

Processing : Synchronous, Ignores ExitCode
Scheduling options : Run First Time

No comments:

Post a Comment