- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Is there a way to copy a file from the installation folder (where setup.exe is) to the installation ...
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Is there a way to copy a file from the installation folder (where setup.exe is) to the installation directory on the customer computer?
Is there a way to copy a file from the installation folder (where setup.exe is) to the installation directory on the customer computer?
My customer sell his software on a usb key, and each new installation comes with an updates database. My goal is to create one installation build, and be able to just replace one file when upload the installation to the usb key.
This is my current build:
(folder) ISSetupPrerequisites
(file) Autorun.inf
(file) database.accdb (I need this file to be copied to the InstallDir on the customer pc)
(file) setup.exe
What I tried:
Install script to copy the file from the directory where setup.exe is, but I can't manage to get that path.
Support files: Looking in different temporary folder provide by my debug, the file does not seems to get copied.
MessageBox(SRCDIR, INFORMATION);
MessageBox(TARGETDIR, INFORMATION);
MessageBox(INSTALLDIR, INFORMATION);
MessageBox(PACKAGE_LOCATION, INFORMATION);
MessageBox(SourceDir, INFORMATION);
MessageBox(SUPPORTDIR, INFORMATION);
I attached a picture of the build folder and my support file. I'm new to this and there is probably something i'm doing wrong.
Thank you!