This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: MoveFiles table entries
Subscribe
- 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
‎Jun 06, 2008
05:25 PM
MoveFiles table entries
In the MoveFiles table, I want to set the SourceFolder to the location where the .msi is located when it is run, and the DestFolder to the location [ProgramFilesFolder]MyProgram\Data.
1) Is there a variable to determine where the source .msi is located?
2) The MoveFiles table does not allow the '[' or ']' character. How can I set the DestFolder to the path: [ProgramFilesFolder]MyProgram\Data ?
Thanks,
Don Metzler
1) Is there a variable to determine where the source .msi is located?
2) The MoveFiles table does not allow the '[' or ']' character. How can I set the DestFolder to the path: [ProgramFilesFolder]MyProgram\Data ?
Thanks,
Don Metzler
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 06, 2008
07:34 PM
1. Look at the SourceDir property.
2. Use the "Browse, Create, or Modify a directory entry..." in a component's Destination property or create the folder structure in the Files and Folders view to create a directory entry and set the Directory Identifier to that folder. Use that identifier name in the MoveFiles table.
2. Use the "Browse, Create, or Modify a directory entry..." in a component's Destination property or create the folder structure in the Files and Folders view to create a directory entry and set the Directory Identifier to that folder. Use that identifier name in the MoveFiles table.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2008
01:15 AM
Thanks. This is working (and sorry for the LATE reply).
Now one final step. The files installed from the MoveFile table: I want to delete these files on uninstall. How can I create a custom uninstall step to delete files in \Program Files\Company\Program folder? It looks as if I can create a New InstallScript Custom Action. How/where can I add the code for this custom action?
Thanks,
Don
Now one final step. The files installed from the MoveFile table: I want to delete these files on uninstall. How can I create a custom uninstall step to delete files in \Program Files\Company\Program folder? It looks as if I can create a New InstallScript Custom Action. How/where can I add the code for this custom action?
Thanks,
Don
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2008
02:52 AM
Take a look at the RemoveFile table. Avoid the custom action route if you can.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2008
09:20 PM
DanGalender wrote:
Take a look at the RemoveFile table. Avoid the custom action route if you can.
That did it - thanks.
Don
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)