dhartg
Posts: 5
Joined: Mon Jun 29, 2009 10:35 pm

Silent Prereq Install with EULA

Hey, I don't know if this question has already been answered but is there a way to display the prerequisites EULA while having the prereqs install silently? If I check "full UI" and "display license agreement" I still get an unwanted dialog that is present during the prereq installation. Ideally, it'd be great if there was the functionality of the "silent install" option in the bootstrapper with the ability to display an EULA for the prerequisites. Is this possible?

Thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Silent Prereq Install with EULA

Hi,

I'm afraid this is not possible, you cannot display the EULA using a silent install.

You can choose silent install, and no dialog will pop-up. If you choose Basic UI you will have only a progress bar, and if you choose Full UI you will get all the dialog displayed.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lokesh
Posts: 23
Joined: Tue Jul 31, 2012 11:45 am

Re: Silent Prereq Install with EULA

How to add EULA , before prerequisites starts downloading(or) installing, user should agree the EULA and then proceed for installing, though my Bootstrapper-UI level is in "Basic UI and progress", i need silent installer, for that purpose i used basic UI and progress, with that i can't add EULA dialog, how it is possible, pls tell me how to do it ?

Thanks in advance,
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Silent Prereq Install with EULA

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

As my colleague mentioned in the previous post you cannot display the EULA using a silent installation package. Also, if you want prerequisites to be installed after user agree the EULA, then you can add to your package the related prerequisites as feature-based prerequisites.

Let us know if this helps, otherwise give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lokesh
Posts: 23
Joined: Tue Jul 31, 2012 11:45 am

Re: Silent Prereq Install with EULA

Hi thanks for your suggestion,
My task is to place a button like "I agree", after i click that button only installation and downloading should start,using windows application i can place a button , as per your last post,i added my prerequisites to feature-based instead of pre-install,and i added my own windows application(.exe) in pre-install, after i run the installer, Installing with progress moving and "I agree" button coming in two different dialog, i don't want that installation progress bar for windows application. What i have to do for that... pls give me some idea.Awaiting for your reply..

Thanks in Advance,
Lokesh.J
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Silent Prereq Install with EULA

Hello Lokesh,

I'm afraid I don't fully understand what you want to achieve. Can you please give us more details about your scenario (maybe exemplify)?

Also, please keep in mind that when you have a silent installation package it means that you don't want the user to interact with your UI installation package. So, you should use a Full UI installation package in order to display EULA.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lokesh
Posts: 23
Joined: Tue Jul 31, 2012 11:45 am

Re: Silent Prereq Install with EULA

Hi Daniel,

What I need to do is, I want two UI , one for EULA agreement and another for Progress,

After i agree the EULA, pre-requisites should download(or)install with progress starts moving, after installation gets complete,wizard should get close automatically, instead of showing Finish wizard atlast.

To achieve this i chosen Basic UI and progress, but in that progess alone coming, i can't add EULA dialog, if it is possible to add in basic UI and progress, how it is?
else if it is mandatory to go with full UI, how can i avoid remaining UI's(except EULA and progress).

Will i get any sample aip for achieving this task?

Hope you understand me..Awaiting for your reply.

Thanks in Advance,
Lokesh.J
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Silent Prereq Install with EULA

Hello Lokesh,

In order to obtain a similar behavior you can try the following workaround (using Full UI):
- Go to "Prerequisites" page and add your prerequisites packages as feature-based prerequisites. Configure it to run in silent mode by editing the install command lines from "Prerequisites" -> "Setup Files" tab. For a MSI prerequisite package you can use the /qn command line parameters.
- From "Install Parameters" page you should check "Run as administrator" option. Please keep in mind that on Windows Vista and above, in order to silently install the prerequisites packages the main installation package should run elevated.
- Go to "Dialogs" page and add the "LicenseAgreementDlg" dialog.
- Delete the "WelcomeDlg", "FolderDlg" and "VerifyReadyDlg" dialogs using "Delete" context menu option.
- Go to "Custom Action" page and add a "Set installer property value" custom action with sequence, before "Wizard Dialogs Stage" -> "User Selection" action group, like this:
  • Property: AiSkipExitDlg
    Formatted: 1
- Build and run your project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lokesh
Posts: 23
Joined: Tue Jul 31, 2012 11:45 am

Re: Silent Prereq Install with EULA

Hi Daniel,
Thank you for replies,
1.As per your recent post, i followed your instruction, but When i build the application,i got this error.


"error.
Your project must contain at least one file before this operation can be performed.

Build finished because an error was encountered".



I build the project in Advance Installer-Professional,

In pre-requisites page,in feature-based i add my package like this setup files->Download single file from URL

What will be the problem? Why i am getting this error?

Problem NO.2

With some other procedure i successfully installed application, again if i try to install the same application, installer removing the same application , and again installing it, it is unnecessary , instead i should get alert with "already installed" (or) some other useful always.. what i need to do to achieve this task.

Please reply me,

Thanks in advance,
Lokesh.J
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Silent Prereq Install with EULA

Hello Lokesh,
1.As per your recent post, i followed your instruction, but When i build the application,i got this error.


"error.
Your project must contain at least one file before this operation can be performed.

Build finished because an error was encountered".

Please keep in mind that any MSI package must contain at least one resource which can be set as the key member of a Windows Installer component (a file or a registry entry). So in order to avoid this issue, you can create a dummy registry value in the "Registry" page.
With some other procedure i successfully installed application, again if i try to install the same application, installer removing the same application , and again installing it, it is unnecessary , instead i should get alert with "already installed" (or) some other useful always.. what i need to do to achieve this task.
I'm not sure why you are encountering this behavior. Can you please give us more details about this scenario?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lokesh
Posts: 23
Joined: Tue Jul 31, 2012 11:45 am

Re: Silent Prereq Install with EULA

Hi Daniel,

"Please keep in mind that any MSI package must contain at least one resource which can be set as the key member of a Windows Installer component (a file or a registry entry). So in order to avoid this issue, you can create a dummy registry value in the "Registry" page".

I tried doing this, now application build successfully, but finish wizard(exitdlg) is still coming.i don't want the finish wizard atlast.

Will i get any sample aip for achieving this task?

Regards,
Lokesh.J
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Silent Prereq Install with EULA

Hello Lokesh,

Can you please tell us what version of Advanced Installer you are using?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lokesh
Posts: 23
Joined: Tue Jul 31, 2012 11:45 am

Re: Silent Prereq Install with EULA

Hi Daniel,

I am using Advanced Installer 9.3.

Regards,
Lokesh.J
lokesh
Posts: 23
Joined: Tue Jul 31, 2012 11:45 am

Re: Silent Prereq Install with EULA

Hi Daniel,

I am having one more doubt, I build and run my application in windows 7, which works fine, while i build that application in windows vista,pre-requisites downloaded through Full UI installer which contains eula,progress dlg and exit dlg,after that my own application will download from specified URL with full UI, once pre-requisites gets downloaded, my own application will download in inidvidual wizard with full UI, at that time pre-requisites wizard wont be in active, only my own application wizard will be in active, but in windows vista,pre-requisites wizard doesn't get back to active,(ie., i can click cancel button in pre-requisites wizard). what i need to achieve this task.Please guide me!!

"What are the basic remedies to overcome the variation in windows vista,xp and windows 7

Awaiting for your reply,

Regards,
Lokesh.J
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Silent Prereq Install with EULA

Hello Lokesh,
I tried doing this, now application build successfully, but finish wizard(exitdlg) is still coming.i don't want the finish wizard atlast.

Will i get any sample aip for achieving this task?

In order to achieve this go to "Custom Action" page and add a "Set installer property value" custom action with sequence, before "Wizard Dialogs Stage" -> "User Selection" action group, like this:
  • Property: AiSkipExitDlg
    Formatted: 1
Here's attached a sample, created using version 9.3 of Advanced Installer, which implements your scenario.
sample.aip
(11.51 KiB) Downloaded 686 times
I am having one more doubt, I build and run my application in windows 7, which works fine, while i build that application in windows vista,pre-requisites downloaded through Full UI installer which contains eula,progress dlg and exit dlg,after that my own application will download from specified URL with full UI, once pre-requisites gets downloaded, my own application will download in inidvidual wizard with full UI, at that time pre-requisites wizard wont be in active, only my own application wizard will be in active, but in windows vista,pre-requisites wizard doesn't get back to active,(ie., i can click cancel button in pre-requisites wizard). what i need to achieve this task.Please guide me!!

I'm afraid I don't fully understand your scenario. Can you please give us more details about your scenario and about your project structure (maybe exemplify)? Also, maybe you can attach a sample reproducing this issue.

Please keep in mind that in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”