Hi All,
Right before the end of the installation I had the Below right under the Compiler End:
The idea was to copy some files to one folder after it was installed already. The folder never was created and nothing was copied.
Create Folder $TARGETDIR\\Distribution
Copy local files $WINSYSDIR$\\Richtx32.OCX to $TARGETDIR\\Distribution\\Richtx32.OCX
Appreciate any feedback.
Regards,
Edhy
Copy command does not work for me
Copy command does not work for me
Edhy Rijo
Thom Child and Family Services
Thom Child and Family Services
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Copy local files
Hi,
I have this code after the following:
Apply Install
If Variable SUCCESS not Equals ERROR
Some Code...
Endif
[Compiler End]
Create Folder $TARGETDIR\\Distribution
Copy local files $WINSYSDIR$\\Richtx32.OCX to $TARGETDIR\\Distribution\\Richtx32.OCX
So I guess it should before the Apply Install Command.
Thanks,
Edhy
I have this code after the following:
Apply Install
If Variable SUCCESS not Equals ERROR
Some Code...
Endif
[Compiler End]
Create Folder $TARGETDIR\\Distribution
Copy local files $WINSYSDIR$\\Richtx32.OCX to $TARGETDIR\\Distribution\\Richtx32.OCX
So I guess it should before the Apply Install Command.
Thanks,
Edhy
Edhy Rijo
Thom Child and Family Services
Thom Child and Family Services
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Copy Local Files
Hi,
1)
Moving the code up above the Apply Install command worked partially.
This line copied the file as expected and that is from Windows\\System32:
Copy local files $WINSYSDIR$\\Richtx32.OCX to $TARGETDIR$\\Distribution\\Richtx32.OCX
But this line did not copy any file from the target folder. That file is found in the root of the installation folder. Any idea how to fix it?
Copy local files $TARGETDIR$\\eReports.dll to $TARGETDIR$\\Distribution\\eReports.dll
2)
When I Un Install I would like to remove all files that were created by the application later on or Copied as described above. I entered the following code right above the Apply Uninstall and it did no do it. Please advise.
Delete Files $TARGETDIR$ \\*.* (when uninstalling)
Regards,
Edhy
1)
Moving the code up above the Apply Install command worked partially.
This line copied the file as expected and that is from Windows\\System32:
Copy local files $WINSYSDIR$\\Richtx32.OCX to $TARGETDIR$\\Distribution\\Richtx32.OCX
But this line did not copy any file from the target folder. That file is found in the root of the installation folder. Any idea how to fix it?
Copy local files $TARGETDIR$\\eReports.dll to $TARGETDIR$\\Distribution\\eReports.dll
2)
When I Un Install I would like to remove all files that were created by the application later on or Copied as described above. I entered the following code right above the Apply Uninstall and it did no do it. Please advise.
Delete Files $TARGETDIR$ \\*.* (when uninstalling)
Regards,
Edhy
Edhy Rijo
Thom Child and Family Services
Thom Child and Family Services
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Copy command worked partially
Hi Michael,
What about item 1 where it worked only partially? (The Copy command) and that is NOT an Un Install.
Regards,
Edhy
What about item 1 where it worked only partially? (The Copy command) and that is NOT an Un Install.
Regards,
Edhy
Edhy Rijo
Thom Child and Family Services
Thom Child and Family Services
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Copy local file
Hi Michael,
That's not really the case regarding the Copy Local Files.
I entered the Copy Local Files after all the Install Files command, as I said only the files from the System32 folder were successfully copied from some reason.
The Copy Local Files command are right above the Apply Install.
Is there something else that I am missing?
Thanks,
Edhy
That's not really the case regarding the Copy Local Files.
I entered the Copy Local Files after all the Install Files command, as I said only the files from the System32 folder were successfully copied from some reason.
The Copy Local Files command are right above the Apply Install.
Is there something else that I am missing?
Thanks,
Edhy
Edhy Rijo
Thom Child and Family Services
Thom Child and Family Services
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Copy local file
Actually, it is. Please read this whitepaper to find out why:Edhy wrote:That's not really the case regarding the Copy Local Files.
www.installaware.com/msicode_scripting_technology.pdf
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/

