Search found 4489 matches

Go to advanced search

by Dan
Wed Mar 31, 2021 6:20 am
Forum: Common Problems
Topic: Warning 4154 While adding Pre-intsall feature In EXE peoject
Replies: 16
Views: 6095

Re: Warning 4154 While adding Pre-intsall feature In EXE peoject

Hi Balaji, If you're still gettting the 4154 warning, then the install condition criteria is not correct. To avoid that message, you need to create an install condition that is met after prerequisite installation, e.g. a registry search. Maybe the related prerequisite will create some specific regis...
by Dan
Wed Mar 17, 2021 10:47 am
Forum: Sample Projects
Topic: Save user input in XML file and retrive values on upgrade
Replies: 0
Views: 14417

Save user input in XML file and retrive values on upgrade

Hello, Use XML Search predefined support from Advanced Installer to retrieve elements from XML files. The Creating an XML Search tutorial will guide you step by step in the process of creating a valid and working XML custom search. This type of search operation can be useful during the installation,...
by Dan
Mon Jan 04, 2021 4:43 pm
Forum: Common Problems
Topic: Not able to use "Per-machine if the user is an administrator, per-user otherwise" install type
Replies: 5
Views: 2116

Re: Not able to use "Per-machine if the user is an administrator, per-user otherwise" install type

Hello,

Indeed, this dialog is not automatically added. You need to add it from the predefined list of dialogs. Use the Add Dialog option as you can see in my printscreen.

Best regards,
Dan
by Dan
Mon Jan 04, 2021 1:27 pm
Forum: Common Problems
Topic: Not able to use "Per-machine if the user is an administrator, per-user otherwise" install type
Replies: 5
Views: 2116

Re: Not able to use "Per-machine if the user is an administrator, per-user otherwise" install type

Hello and welcome to Advanced Installer forums,

Please note that you need to add the InstallTypeDlg dialog from our predefined list of dialogs:

AddDialog.PNG
AddDialog.PNG (52.21 KiB) Viewed 2114 times

Please let me know if you need any help.

Best regards,
Dan
by Dan
Thu Dec 24, 2020 7:22 am
Forum: Building Installers
Topic: Staying on same dialog after error in input from user
Replies: 3
Views: 1726

Re: Staying on same dialog after error in input from user

You're always welcome,

If you have any other questions we'll be glad to answer them.

Best regards,
Dan
by Dan
Wed Dec 23, 2020 2:53 pm
Forum: Building Installers
Topic: Staying on same dialog after error in input from user
Replies: 3
Views: 1726

Re: Staying on same dialog after error in input from user

Hello, What you need to do is to set a property in the custom action, depending the result of the custom action. You will further use the property to conditionally displaying the next dialog. Conditionally display the next event.PNG As long as the value of the property is not equal True , then you c...
by Dan
Thu Dec 17, 2020 2:20 pm
Forum: Sample Projects
Topic: Configure custom action that launches a file installed by the setup
Replies: 0
Views: 15453

Configure custom action that launches a file installed by the setup

Hello, There are scenarios when the installer needs to launch some files installed on the machine or to execute scripts that reffers to installed files. The settings are different for install and for uninstall . Configure the custom action that will be executed during installation When the custom ac...
by Dan
Wed Dec 09, 2020 6:12 am
Forum: Common Problems
Topic: How to sign digitally the scripts created by an inline powershell custom action?
Replies: 3
Views: 1994

Re: How to sign digitally the scripts created by an inline powershell custom action?

Hi Damien and welcome to Advanced Installer forums, Starting with Advanced Installer 17.1 Release , Advanced Installer offers Digital Signature support for PowerShell scripts. Just enable the Sign script option from the Run Inline PowerShell Script custom action properties. PowerShell CA Props.PNG I...
by Dan
Mon Nov 02, 2020 7:16 am
Forum: Common Problems
Topic: Deleting of Environment variable while installing Bootstrapper EXE
Replies: 1
Views: 799

Re: Deleting of Environment variable while installing Bootstrapper EXE

Hello, You can condition the enviromnet variable creation based on the UILevel property. Since the enviromnet variable does not allow conditional creation, we will use the componnet that the enviromnet variable attaches. We will create a dummy registry to have a new componnet created and the same co...
by Dan
Mon Oct 26, 2020 1:39 pm
Forum: Common Problems
Topic: Add pre-requisite files under feature based at run time
Replies: 13
Views: 2750

Re: Add pre-requisite files under feature based at run time

Hello, Is there any way or any other setting that it can get upgrade code of that MSI package by itself without passing it through command line like -search_type UpgradeCode -search_path {bccc7f97-0b12-4b4e-9a82-81330d20d971}? When adding the prerequisite through the command lien you need to specify...
by Dan
Mon Oct 26, 2020 10:03 am
Forum: Common Problems
Topic: Add pre-requisite files under feature based at run time
Replies: 13
Views: 2750

Re: Add pre-requisite files under feature based at run time

Hi Akshay, if we replace the UpgradeCode with FileVersion then it is working fine, But we want to use UpgradeCode as search_type so please validate this scenario at your end and suggest the solution for this. This may happens if you are using an older version of Advanced Installer. I was testing usi...
by Dan
Tue Oct 13, 2020 10:42 am
Forum: Common Problems
Topic: Add pre-requisite files under feature based at run time
Replies: 13
Views: 2750

Re: Add pre-requisite files under feature based at run time

Hi Akshay, When using ProductCode or UpgradeCode , only the value for search_type values is being changed, everything else remain the same. e.g. AdvancedInstaller.com" /edit "Sample CMD.aip" /NewPrerequisite "Google Talk" -type FeatureBased -prereq_path "C:\googletalk-setup.exe" -search_type Upgrade...
by Dan
Fri Oct 09, 2020 2:18 pm
Forum: Common Problems
Topic: Add pre-requisite files under feature based at run time
Replies: 13
Views: 2750

Re: Add pre-requisite files under feature based at run time

Hi Akshay, Please note that not all the options available in the GUI are available in the command line. 1. Minimum version of pre-requisite from display section of properties page. I'm afraid we don't have an option available to set this parameter through the command line. 2. We have to set /qn LICE...
by Dan
Wed Oct 07, 2020 8:45 am
Forum: Common Problems
Topic: set file version and product version using dll file
Replies: 4
Views: 1168

Re: set file version and product version using dll file

Hello,

No, there is no command available to set FileVersion.

We only have command to set the ProductVersion to string value or keep it in sync with a binary file.

Best regards,
Dan
by Dan
Tue Oct 06, 2020 2:51 pm
Forum: Common Problems
Topic: set file version and product version using dll file
Replies: 4
Views: 1168

Re: set file version and product version using dll file

Hello, To set the installer version , please use the /SetVersion command. This command will set the Product Version. Its equivalent UI option is “Product Version” in the Product Details Tab page. A new Product Code will be generated if the new version is different from the old one, unless the -nopro...

Go to advanced search