I have created a dialog where the user can find/select a license code file for my product. The file path/name is then stored in a variable.
After "Apply install" I want to copy this file to a folder in my target dir.
Something like this:
Copy file $LICENSFILENAME$ to $TARGETDIR$\\BinHowever the "Copy local file" action does not accept variables in the "Source files" field.
How do I do this?
How do I copy a \"local\" file selected by the user?
-
Alex_Ronquillo
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
LarsS,
Jimo is right. You need to use CopyFileA from kernel32.dll because the "Copy/Move Local Files" command is one of those commands that need the apply install to take place, and if you are placing it after the apply install, then it will never occur.
Jimo is right. You need to use CopyFileA from kernel32.dll because the "Copy/Move Local Files" command is one of those commands that need the apply install to take place, and if you are placing it after the apply install, then it will never occur.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

