Search found 19 matches

Go to advanced search

by apajovejohn
Wed Jun 14, 2023 10:30 am
Forum: Common Problems
Topic: SQL Query Custom Action Bug?
Replies: 1
Views: 9049
 
Jump to post

SQL Query Custom Action Bug?

I have added a SQL Query to a functioning predefined SQL connection: SQLQueryDlg.jpg I want to call this query as a custom action but when I add the Query SQL Database for Data action, the "Chose SQL Query" dialog box is always empty: SQLEmptyBox.jpg I may be missing something, but I can't...
by apajovejohn
Thu May 18, 2023 1:46 pm
Forum: Building Installers
Topic: Conditional IIS Properties
Replies: 3
Views: 8692
 
Jump to post

Re: Conditional IIS Properties

Hi Caitlin,
This was indeed what I meant. It's a seriously niche requirement which I'm not sure many other folks would ever need.

I've worked around it with a PowerShell custom action so I think you can ignore this one.

Thanks for following up

John
by apajovejohn
Tue May 16, 2023 5:05 pm
Forum: Building Installers
Topic: Custom Headers in IIS Config loses variable
Replies: 4
Views: 9299
 
Jump to post

Re: Custom Headers in IIS Config loses variable

Thanks for confirming, I've worked around it with a PowerShell custom action for now.
by apajovejohn
Mon May 15, 2023 11:57 pm
Forum: Building Installers
Topic: Conditional IIS Properties
Replies: 3
Views: 8692
 
Jump to post

Conditional IIS Properties

Hello,
Is it possible to set the properties of an IIS website conditionally depending on the value of a property?

Specifically, what I want to do is set some HTTP headers IF the user elects to install on port 443 (FRONTENDPORT=443, but not set them if it is installed on any other port.

Thanks

John
by apajovejohn
Fri May 12, 2023 4:48 pm
Forum: Building Installers
Topic: Custom Headers in IIS Config loses variable
Replies: 4
Views: 9299
 
Jump to post

Custom Headers in IIS Config loses variable

I am setting IIS Config Headers like this: ConfigHeader1.jpg I specify a default property for [SERVERFQDN] and call a custom action to populate this property, I use that property elsewhere in the installer without issue and it is displayed on my final wizard screen. I can also see in the log that it...
by apajovejohn
Wed Apr 26, 2023 5:26 pm
Forum: Building Installers
Topic: Custom Action to Create Self-Signed Cert does not work for IIS Binding
Replies: 1
Views: 3345
 
Jump to post

Custom Action to Create Self-Signed Cert does not work for IIS Binding

Hi, Just a heads-up that the new-ish CA for creating a self-signed certificate appears to result in a cert that has no trusted root, so IIS will not render a website bound to it. A simple fix is to create a PowerShell task to create the cert correctly: $myFQDN = [System.Net.Dns]::GetHostByName($env:...
by apajovejohn
Wed Apr 26, 2023 5:24 pm
Forum: Building Installers
Topic: Disable Next Button until ListBox entry is SELECTED
Replies: 3
Views: 3177
 
Jump to post

Re: Disable Next Button until ListBox entry is SELECTED

Liviu, I'm really grateful for your support. I got it working as you describe, it was not working previously as I had fundamentally misunderstood how to use the AI_LISTBOX_DATA property and was using that as my actual LISTBOX property, it worked, but having a MY_LISTBOX_PROP which I can then check t...
by apajovejohn
Tue Apr 25, 2023 7:38 pm
Forum: Building Installers
Topic: Disable Next Button until ListBox entry is SELECTED
Replies: 3
Views: 3177
 
Jump to post

Disable Next Button until ListBox entry is SELECTED

Hi, I'm trying to ensure that the user can't click Next until an entry is clicked in a dynamically created ListBox. The ListBox is populated by a PowerShell script custom action (to list certificates for the user to pick for binding to the IIS websites we're creating). This all works great, but ther...
by apajovejohn
Tue Mar 07, 2023 3:30 pm
Forum: Building Installers
Topic: Set Color of Prerequisite Picker Box
Replies: 3
Views: 4567
 
Jump to post

Re: Set Color of Prerequisite Picker Box

Works like a charm! Many thanks for the quick reply.
by apajovejohn
Mon Mar 06, 2023 4:34 pm
Forum: Building Installers
Topic: Set Color of Prerequisite Picker Box
Replies: 3
Views: 4567
 
Jump to post

Set Color of Prerequisite Picker Box

Hi, I've built an installer based on the Orange Vivid Theme but do not want anything to be orange. I've had good results of all other dialog entities using AI_CONTROL_VISUAL_STYLE but it doesn't apply to the PreRequisite picker (it seems). I've attached a screenshot of the problem and a screenshot o...
by apajovejohn
Tue Apr 20, 2021 11:08 am
Forum: Building Installers
Topic: Choose certificate for IIS binding from Certificate Store
Replies: 1
Views: 2967
 
Jump to post

Choose certificate for IIS binding from Certificate Store

Hi all, Has anyone had any luck creating a dialog view that lets a user select a certificate from the local cert store in a dialog rather than having to copy and paste the thumbprint? I figured this would be built in but it seems not so I'm wondering if a custom action to enumerate all certificates ...
by apajovejohn
Tue Mar 02, 2021 12:57 pm
Forum: Common Problems
Topic: Suddenly cannot build with Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1:
Replies: 1
Views: 2021
 
Jump to post

Suddenly cannot build with Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1:

I've been successfully building this project for years, but suddenly I'm getting: [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x00a55ee6] Advanced Installer 16.1 build c9c5c0c9 *** Stack Trace (x86) *** [0x00a55ee6] ----- [0x01167096] ----- [0x01162bda] ----- [0x01160173] ----- [0...
by apajovejohn
Mon Feb 04, 2019 5:17 pm
Forum: Building Installers
Topic: Creating AppPool with different properties
Replies: 3
Views: 3121
 
Jump to post

Re: Creating AppPool with different properties

That looks like just the ticket! Not sure I would ever have come up with that myself!

Many thanks

John
by apajovejohn
Fri Feb 01, 2019 3:54 pm
Forum: Common Problems
Topic: Creating AppPool with different properties
Replies: 1
Views: 1626
 
Jump to post

Creating AppPool with different properties

Apologies for cross-posting but the community area doesn't seem to have any suggestions for me and we do have official support... I'm trying to work out the best approach for creating an installer for a website and app pool. I have this all working perfectly, but now want to give the user the option...
by apajovejohn
Thu Jan 31, 2019 6:00 pm
Forum: Building Installers
Topic: Creating AppPool with different properties
Replies: 3
Views: 3121
 
Jump to post

Creating AppPool with different properties

Hi folks, My installer creates a website and associated app pool. I allow the user to specify either local system OR a user account for the app pool to run under. This leads to be needing to create the app pool with either the default identity, OR an identity with account details. I imagined that al...

Go to advanced search