Search found 112 matches

Go to advanced search

by prerak6962
Tue May 29, 2018 4:33 pm
Forum: Common Problems
Topic: Non-admin installation
Replies: 9
Views: 14398
 
Jump to post

Non-admin installation

Hello, I have an installer in which I want to allow the user to install the product even if he's not an administrator. The main motive is to set the registry to HKLM is the user is admin or else to HKCU if he's not an admin. So for this, I did the following things: Disabled "Run as administrato...
by prerak6962
Wed May 23, 2018 1:23 pm
Forum: Common Problems
Topic: Powershell npm install
Replies: 7
Views: 9303
 
Jump to post

Re: Powershell npm install

Hi Daniel, Thank you for the details. I was able to access the npm package in "Inline powershell script" by adding the installation folder to the "Path" environment variable. $appData = AI_GetMsiProperty AppDataFolder $env:Path += -join(";", "$appData", "...
by prerak6962
Tue May 22, 2018 10:13 am
Forum: Common Problems
Topic: Powershell npm install
Replies: 7
Views: 9303
 
Jump to post

Re: Powershell npm install

Hi Daniel, Is there a way to access variables (AppDataFolder in my case) in the powershell script file (not inline script)? I can do it in an inline powershell script but, in case of failure, it does not show the error message. I tried something like this: [#DeployServer.ps1] --location [AppDataFold...
by prerak6962
Tue May 22, 2018 9:33 am
Forum: Common Problems
Topic: Powershell npm install
Replies: 7
Views: 9303
 
Jump to post

Re: Powershell npm install

Hi Daniel,

I tried by disabling the "Run under the LocalSystem account with full privileges" option, but the output is still the same. it terminates with the same error.

Prerak
by prerak6962
Thu May 17, 2018 4:29 pm
Forum: Common Problems
Topic: Restore Built-in Dialogs
Replies: 3
Views: 4770
 
Jump to post

Re: Restore Built-in Dialogs

Hi Dan, Thank you for your reply. Unfortunately, I had a reference to the modified dialog in one of the "Published Events". Because of that it still had the reference of the modified dialog in the Dialog Table. Once I deleted it, the reference row was deleted from the table and upon adding...
by prerak6962
Thu May 17, 2018 4:28 pm
Forum: Common Problems
Topic: Powershell npm install
Replies: 7
Views: 9303
 
Jump to post

Powershell npm install

I have an installer containing a powershell script which installs a npm module and does some actions after that using that module. If I execute that script from powetshell console, it works completely fine. However, when the installer executes it, the module gets installed but for the next commands,...
by prerak6962
Tue May 15, 2018 5:35 pm
Forum: Common Problems
Topic: Restore Built-in Dialogs
Replies: 3
Views: 4770
 
Jump to post

Restore Built-in Dialogs

Hello, In my project, I modified the design of the built-in SQLServerConnectionDlg dialog. However, now I want to use the initial default design, so I deleted the modified dialog and added again the SQLServerConnectionDlg dialog. But the newly added dialog has the modified design. So, is there a way...
by prerak6962
Tue Mar 27, 2018 5:18 pm
Forum: Common Problems
Topic: RemoveExistingProducts return value 3
Replies: 1
Views: 2257
 
Jump to post

RemoveExistingProducts return value 3

Hello, In one of my installer project, the installer terminates with an error on update. In the logs, I can see that the RemoveExistingProducts custom action returns value 3. What can be the scenarios where this action can return an error? The executable is launched as an administrator. Also, I do n...
by prerak6962
Wed Jan 17, 2018 11:20 am
Forum: Common Problems
Topic: Path Variable for BannerBitmap
Replies: 1
Views: 1805
 
Jump to post

Path Variable for BannerBitmap

Hello, In my installer project, I have added an image under the "Images" tab of "Themes" menu. However, under the "Preview" tab, I can not select this added image for "BannerBitmap" (under "More options"). As I result, I have to modify the banner in ...
by prerak6962
Fri Sep 01, 2017 4:35 pm
Forum: Common Problems
Topic: Populate multiple comboBox with same data
Replies: 1
Views: 2188
 
Jump to post

Populate multiple comboBox with same data

Hello, In my installer, I have 3 combo boxes in a dialog. I want to populate all the 3 of them with same data. Currently, I have a powershell script that collects the data and sets the AI_COMBOBOX_DATA property. It works fine for one, but how can I set all 3 of them? The script: $ListIP="127.0....
by prerak6962
Mon Jun 12, 2017 4:29 pm
Forum: Common Problems
Topic: EXE Bootstrapper Command line help
Replies: 3
Views: 3808
 
Jump to post

Re: EXE Bootstrapper Command line help

Hi Sorin, When I execute the command setup.exe /? on my EXE from command line, it directly launches the installer GUI. Is there any setting that I need to enable to view the help dialog? Currently I have "Use Enhanced User Interface" set to "Only on install" under "Themes ->...
by prerak6962
Tue Jun 06, 2017 2:44 pm
Forum: Common Problems
Topic: EXE Bootstrapper Command line help
Replies: 3
Views: 3808
 
Jump to post

EXE Bootstrapper Command line help

Hello,

My installer supports command line mode of installation along with the GUI.
So is there a way I can provide a help text to the user when he types

Code: Select all

Setup.exe /?
or

Code: Select all

Setup.exe /help
so that he can know what parameters he can pass?

Thank you.
Prerak
by prerak6962
Wed May 17, 2017 12:55 pm
Forum: Common Problems
Topic: Get IP addresses of the devices in the same network
Replies: 1
Views: 2843
 
Jump to post

Get IP addresses of the devices in the same network

In my installer, I need to have a select box with a list of IP addresses. These IP addresses are of all the devices that are connected to the same network as the user's. In brief I want to do a network scan and get the IP addresses to populate this select box. Is there a way I can do this? I did not...
by prerak6962
Wed Jan 18, 2017 10:03 am
Forum: Common Problems
Topic: Minimum Launch Condition
Replies: 2
Views: 3067
 
Jump to post

Re: Minimum Launch Condition

I created a new ASP.NET project and selected the dependencies in the wizard. The behaviour mentioned above can be reproduced in it. I have attached the .aip file of it here. Also, for IIS dependency, the default registry search created by the wizard is HKLM\SOFTWARE\Microsoft\IISExpress\8.0\Version ...
by prerak6962
Tue Jan 17, 2017 4:47 pm
Forum: Common Problems
Topic: Minimum Launch Condition
Replies: 2
Views: 3067
 
Jump to post

Minimum Launch Condition

Hello, I have an installer for an ASP.NET web application. The application requires minimum .NET Framework 4.0 and minimum IIS 8.0 for running. So, I added these two in the "Launch Conditions -> Software" tab. Untitled.png And in case they are not present on the user's machine, I have adde...

Go to advanced search