colinaranch
Posts: 1
Joined: Tue Jul 22, 2008 1:12 am

Installation Folder Question

How can I get the installation file (.msi) to be copied to the installation folder after installaton?
Cristi
Posts: 34
Joined: Wed Oct 08, 2008 8:44 am
Contact: Website

Re: Installation Folder Question

Hi,

I'm afraid that this feature is not supported by Windows Installer. However, you can try using a custom action scheduled under "InstallFinalize" . Here is some sample VBScript code:

Code: Select all

Set fso = CreateObject("Scripting.FileSystemObject")
fso.copyFile "c:\mytext.txt" , "c:\temp\"
Best regards,
Cristi
______________________________
Cristi Costache
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”