Search found 4513 matches

Go to advanced search

by Dan
Fri Jul 23, 2021 11:59 am
Forum: Common Problems
Topic: Relative PAth
Replies: 1
Views: 15658
 
Jump to post

Re: Relative PAth

Hi, Note that all paths in your projects are stored as relative or absolute depending on the setting you use in the Project->Options... dialog. Paths are stored (in AIP) by default as relative to the project file (AIP), if they reside on the same logical drive as the AIP. Otherwise, they are stored ...
by Dan
Tue Jul 20, 2021 8:51 am
Forum: Building Installers
Topic: Show proper error on failure
Replies: 3
Views: 23936
 
Jump to post

Re: Show proper error on failure

Hi Tanya, You can do that using custom action. You can write your own program in C#/C++, something you are familiar with, or you can also use a script like PowerShell or VBScript. If you don't know how to do that, a good point to start is from Powershell command to check if user has permissions to a...
by Dan
Mon Jul 19, 2021 3:07 pm
Forum: Building Installers
Topic: Show proper error on failure
Replies: 3
Views: 23936
 
Jump to post

Re: Show proper error on failure

Hi Tanya, You can write your own custom action to check if the user belongs to Domain Users group and write into log file. To do that you can run a PowerShell script, something like this: $user = $user = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name $groups = 'Domain Users' foreach ...
by Dan
Tue Jul 13, 2021 12:33 pm
Forum: Sample Projects
Topic: Install updates without elevation, automatically at user logon
Replies: 0
Views: 247517
 
Jump to post

Install updates without elevation, automatically at user logon

Hello, Sometimes, installing updates without elevation can be challenging, thus adding here a samples project to implement this could be of great help. Useful resources: To get started with the updater, check the Configuring auto-updates for a Windows application article. To configure the Updater to...
by Dan
Tue Jun 29, 2021 1:38 pm
Forum: Sample Projects
Topic: Display themed dialog instead of standard Launch Condition dialog
Replies: 0
Views: 245363
 
Jump to post

Display themed dialog instead of standard Launch Condition dialog

Hello, When using custom themes, in case the package has any launch condition defined and the launch condition gets fired during installation, the dialog does not have the UI of the theme, which may not look nice. In this case, you need to substitute the funcionality using custom dialogs. Let's cons...
by Dan
Tue Jun 22, 2021 6:58 am
Forum: Building Installers
Topic: New files are not updating properly for upgrade
Replies: 3
Views: 21203
 
Jump to post

Re: New files are not updating properly for upgrade

Hello, Please check the Save user input in XML file and retrive values on upgrade topic where you can find a sample project with this exact scenario. During installation, the user needs to enter some input that is saved into an XML file. During an upgrade, the installer retrieves the values from the...
by Dan
Fri Apr 23, 2021 5:04 am
Forum: Building Installers
Topic: Error installing driver on ARM64 project
Replies: 3
Views: 21008
 
Jump to post

Re: Error installing driver on ARM64 project

Hi,

In this case, you need to have your package type as 64-bit package.

In the Install Parameters view you can select the package type.

Let me know if you have other questions.

Best regards,
Dan
by Dan
Fri Apr 23, 2021 4:45 am
Forum: Building Installers
Topic: Error installing driver on ARM64 project
Replies: 3
Views: 21008
 
Jump to post

Re: Error installing driver on ARM64 project

Hi, This error appears if you try to install a 32-bit driver on a 64-bit machine. To be able to install your package on 32-bit and 64-bit machines too, you can create a mixed package which installs different driver on each machine. Also, you need to have a different INF file for the 32-bit and 64-bi...
by Dan
Sat Apr 03, 2021 3:58 pm
Forum: Common Problems
Topic: Warning 4154 While adding Pre-intsall feature In EXE peoject
Replies: 16
Views: 62981
 
Jump to post

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

Hi Akshay, You can read more about prerequisites and their install condition in the Add Prerequisites article. Please read carefully the Frequently Asked Questions about prerequisites faqs article that should give you a better view how our prerequisite support works. Let me know if you have other qu...
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: 62981
 
Jump to post

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: 236814
 
Jump to post

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: 19301
 
Jump to post

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: 19301
 
Jump to post

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 19299 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: 18236
 
Jump to post

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: 18236
 
Jump to post

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...

Go to advanced search