Hi,
I'm new to Actual Installer. I have created an installer and I need to add some Folders and a few files in those Folders in the User's "My Documents" Folder.
Could someone tell me the exact process on how to do so. I did see a similar thread on this subject but it said to create a variable. It was not very verbose and after reading it I'm still not sure on how to accomplish this.
Let's say I have an application called "WidgetApp".
I need to create an folder in the User's "My Documents" folder as such: "User's My Documents Folder">Widget App>Logs>Log1.txt
How and where is this done in the application?
Thank you in advance.
Creating Folders in User's MyDocuments Folder
Re: Creating Folders in User's MyDocuments Folder
For the file destination use variable <MyDocuments>
On the Files and Folders page click Add Files, select file "Log1.txt" from your computer, in the Destination Folder type:
<MyDocuments>\Widget App\Logs
Please note, it is not recommended to store app's files in User's Document folder (because of permissions set to this folder, app may be blocked to access this folder).
Use AppData folder (variable <AppData>).
On the Files and Folders page click Add Files, select file "Log1.txt" from your computer, in the Destination Folder type:
<MyDocuments>\Widget App\Logs
Please note, it is not recommended to store app's files in User's Document folder (because of permissions set to this folder, app may be blocked to access this folder).
Use AppData folder (variable <AppData>).
Re: Creating Folders in User's MyDocuments Folder
Hi Leo,
I need to setup a directory structure in the User's MyDocuments Folder.
No Files are in these Directories.
How do I do that?
See attached File.
I need to setup a directory structure in the User's MyDocuments Folder.
No Files are in these Directories.
How do I do that?
See attached File.
- Attachments
-
- FileStructure.png
- (23.23 KiB) Not downloaded yet
Re: Creating Folders in User's MyDocuments Folder
To create an empty folder, go to System/Commands and add:
Code: Select all
File: <SystemDir>\cmd.exe
Parameters: /C mkdir "<MyDocuments>\Widget App"
Timing: After Installation