FrankS
Posts: 4
Joined: Sat Nov 17, 2018 11:31 pm

a little help requested to get going

Hi, please help me with my first steps using your program.

1. There are four different folders under my Documents with a few files in each four.
2. I need to create a simple installer that
a) ask the user to agree to the terms, then
b) copies these files into the corresponding four folders on another computer.
- Creates the folders if they do not exist, and
- Overwrites any file(s) with the same name if such file(s) exist in the target folder. No need to ask questions, just overwrite.
3. Displays a Thank you for installing message.

I know it's ridiculously easy what some of you guys are building here, but I'm pretty new to this, and I'm stuck. I appreciate your help!
Frank
Catalin
Posts: 6597
Joined: Wed Jun 13, 2018 7:49 am

Re: a little help requested to get going

Hello Frank and welcome to our forums,

First of all, thank you for your interest in Advanced Installer.

In what regards your scenario, here is how you can proceed:
a) ask the user to agree to the terms, then
In order to achieve this, you can use our "LicenseAgreementDlg". To add the previously specified dialog, please go to "Dialogs" page, select "WelcomeDlg" from under the "First Time Install", click on the "Add Dialog" button from the toolbar and then select "LicenseAgreementDlg".
b) copies these files into the corresponding four folders on another computer.
- Creates the folders if they do not exist, and
This is done by default by Advanced Installer.
Overwrites any file(s) with the same name if such file(s) exist in the target folder. No need to ask questions, just overwrite.
In order to achieve this, you can proceed as it follows:

- Please go to "Files and Folders" page

- Right click on your file --> "Properties" --> "Operations" tab --> and set the "Overwrite Behavior" to "Always overwrite existing file"
Displays a Thank you for installing message.
Can you please give me some more details about how you want your message to be displayed? For example, do you want a message box to be spawned that displays your message? Or do you want to simply display the message on the "ExitDlg"?

Hope this helps.

Also, attached you can find a sample project for your reference.
Frank Sample.zip
(4.03 KiB) Downloaded 221 times
All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FrankS
Posts: 4
Joined: Sat Nov 17, 2018 11:31 pm

Re: a little help requested to get going

Thanks, Catalin, for your generous help! I'll get to it right now :)
Catalin
Posts: 6597
Joined: Wed Jun 13, 2018 7:49 am

Re: a little help requested to get going

You are always welcome, Frank.

I am glad I could help.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FrankS
Posts: 4
Joined: Sat Nov 17, 2018 11:31 pm

Re: a little help requested to get going

Hi Calatin,
I've built my first install package. I just copied a few files in a few folders under My Documents. When I run 'remove ', I thought I'd find the deleted files in the Recycle Bin but they're not there.
- Where are they?
- Were they wiped from the hard disk beyond recovery?
- How can I set it so that the deleted/removed files end up in the Recycle Bin?

Thanks for your help!

Frank
Catalin
Posts: 6597
Joined: Wed Jun 13, 2018 7:49 am

Re: a little help requested to get going

Hello Frank,
Were they wiped from the hard disk beyond recovery?
Yes, they are completely removed from the hard disk.
How can I set it so that the deleted/removed files end up in the Recycle Bin?
During the Uninstall process, the Windows Installer service, which is proprietary to the OS, definitively removes all the files that were previously installed by your setup. I am afraid that this is the default behavior and that can not be changed.

Please let me know if there is anything else I could help you with.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”