We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Need Some Help Tweaking Tomcat Port Configuration

Greetings.. I'm rather new to building installation packages in general, so please excuse me if I miss some seemingly obvious points here. :)

I've set up an installer that includes a custom distribution of Tomcat 7, including dynamic port configuration and service installation. The port configuration dialog is optional though, it will only show up if the user selected the "Custom" installation type option. What I would like to do, is to have the installer actually get the free ports as it launches, rather than when the port config dialog is shown.

What's the best way to go about doing this? I've tried placing the steps to get a free port (i.e.: assign my custom property to AI_SEARCH_TCP_PORT, call GetFreeTCPPort, conditionally assign back to my property, etc..) in the "Init Events" section for the first dialog (PrepareDlg), but this doesn't seem to work. Do these events need to be in a specific place to function? I've seen some dialog structures from other themes attach this to the "Next" button of the dialog before the one where they're used, but this seems a bit tacky to me.

Any wise advice?


On a related note, when getting a free port, will calling GetFreeTCPPort run multiple times until it finds a free port, or do I need to call it again? For example, if the default value is 8080, but 8080 and 8081 are already in use, will simply calling it once return 8082?

[edit] Another thought.. I'm not currently planning to allow for silent installations, but the need may arise for this in the future. Is there another way to call the GetFreeTCPPort custom action outside of the wizard's interface? Keep in mind I need to call this for 4 different ports. I understand that (due to the multiple processes performed by this action) that it cannot simply be called as one step in the "Custom Actions" page, but does this mean it's restricted to only the wizard dialog environment..?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need Some Help Tweaking Tomcat Port Configuration

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can use our "Get a free TCP port" predefined custom action. This predefined custom action can be added only as a custom action without sequence (as it is intended to be used only during UI installation stage). For example, you can launch it on a button push. When launched, this custom action will set the "AI_SEARCH_TCP_PORT" to the first found free TCP port and the "AI_PORT_TEST_RES" property to the following values:
  • FreePort , when the search suceed
    SockError , when the search fails
Also, there is no need to call the custom action multiple times. Using one single call the custom action will start the search starting from the port number set in the "TCP port" field of the custom action (or starting with the port number set in the "AI_SEARCH_TCP_PORT" property). Then, it will return the first found free TCP port starting with the above specified TCP port and above.

Regarding the silent installation scenario, you cannot use the our "Get a free TCP port" predefined custom action. However, as a workaround you can simply call the "GetFreeTCPPort" function within our "aicustact.dll". Here are the steps to proceed:
1. go to "Custom Actions" page and add a "Call function from attached native DLL" custom action with sequence
2. in the browser dialog navigate to Advanced Installer installation folder (e.g. "C:\Program Files (x86)\<username>\Advanced Installer 11.4.1\custact\x86") and select the "aicustact.dll" file
3. in the "Function" field of the added custom action select the "GetFreeTCPPort" function
4. select "Dialogs" page and then select back the "Custom Actions" page
5. select the added custom action and edit its "Host name or IP" and "TCP port" fields as you need

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Re: Need Some Help Tweaking Tomcat Port Configuration

Thanks Daniel, that's very helpful.. Between my test cases and your explanation, I'm pretty comfortable with the "Get a free TCP port" action now.

Since I'll need this functionality in both a standard and a custom install, I'll probably end up attaching it to one of the "Next" buttons before the installation type selection. I was really hoping to do this on initialisation of the installer (or at least, on a specific page).

The silent installation idea is a "maybe later" situation anyway, that may never be needed, but I figured it would be good to know just in case.

I'll put this together tomorrow and let you know if I come right or not. It's the end of my working day now, so I'm heading home to find a nice cold beer. :)
AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Re: Need Some Help Tweaking Tomcat Port Configuration

Ok, I'm half way there with this configuration, haven't a bit of difficulty with it though.. I'm updating all 4 of Tomcat's ports here (HTTP, AJP, Redirect and Shutdown), using the entries seen in the image below.
aip_1.png
aip_1.png (13.37 KiB) Viewed 19456 times
I have the exact same list of entries on the "Next >" button (note: placed before the existing "verify path" and "display a dialog" entries) on the already included "FolderDlg" page and on a custom "Refresh" button that I'm placed on my custom dialog (nested inside the custom install mode branch). Each of my properties have the correct initial values set:
  • [TC_HTTP_PORT] = 8080
  • [TC_AJP_PORT] = 8009
  • [TC_REDIRECT_PORT] = 8443
  • [TC_SHUTDOWN_PORT] = 8005
When these events are fired from the "FolderDlg" page, I get the four ports assigned as 8082, 8006, 8006, 8006. When I hit the "Refresh" button, I get the ports as 8082, 8010, 8443, 8006. If I navigate "back" in the installer and click "next" on the folder selection dialog again, I get back to 8082, 8006, 8006, 8006. I ran my installer with logging to see if that shows anything, but I'm not entirely sure what I'm looking for here, so I'll include two excerpts below.

One thing I did notice is that the "AI_PORT_TEST_RES" property only seems to show up once in the beginning, but I don't see it mentioned anywhere else in the log.. Is this something I'm doing wrong or did something in my installation package just break?


Excerpt from clicking "Next >" on the folder dialog:

Code: Select all

MSI (c) (5C:90) [09:23:15:604]: PROPERTY CHANGE: Adding AI_SEARCH_TCP_PORT property. Its value is '8080'.
MSI (c) (5C:90) [09:23:15:636]: Doing action: AI_DATA_SETTER_5
Action 09:23:15: AI_DATA_SETTER_5. 
Action start 09:23:15: AI_DATA_SETTER_5.
MSI (c) (5C:90) [09:23:15:682]: PROPERTY CHANGE: Adding CustomActionData property. Its value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8080'.
Action ended 09:23:15: AI_DATA_SETTER_5. Return value 1.
MSI (c) (5C:90) [09:23:15:714]: Doing action: GetFreeTCPPort_HTTP
Action 09:23:15: GetFreeTCPPort_HTTP. 
Action start 09:23:15: GetFreeTCPPort_HTTP.
MSI (c) (5C:38) [09:23:15:792]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI90EF.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (5C!BC) [09:23:15:807]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8080'. Its new value: '8082'.
MSI (c) (5C!BC) [09:23:15:838]: PROPERTY CHANGE: Adding AI_PORT_TEST_RES property. Its value is 'FreePort'.
Action ended 09:23:15: GetFreeTCPPort_HTTP. Return value 1.
MSI (c) (5C:90) [09:23:15:870]: PROPERTY CHANGE: Modifying TC_HTTP_PORT property. Its current value is '8080'. Its new value: '8082'.
MSI (c) (5C:90) [09:23:15:885]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8082'. Its new value: '8009'.
MSI (c) (5C:90) [09:23:15:901]: Doing action: AI_DATA_SETTER_4
Action 09:23:15: AI_DATA_SETTER_4. 
Action start 09:23:15: AI_DATA_SETTER_4.
MSI (c) (5C:90) [09:23:15:948]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8080'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8009'.
Action ended 09:23:15: AI_DATA_SETTER_4. Return value 1.
MSI (c) (5C:90) [09:23:15:979]: Doing action: GetFreeTCPPort_AJP
Action 09:23:16: GetFreeTCPPort_AJP. 
Action start 09:23:16: GetFreeTCPPort_AJP.
MSI (c) (5C:A8) [09:23:16:072]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI9209.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (5C!F4) [09:23:16:088]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8009'. Its new value: '8010'.
Action ended 09:23:16: GetFreeTCPPort_AJP. Return value 1.
MSI (c) (5C:90) [09:23:16:135]: PROPERTY CHANGE: Modifying TC_AJP_PORT property. Its current value is '8009'. Its new value: '8010'.
MSI (c) (5C:90) [09:23:16:150]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8010'. Its new value: '8443'.
MSI (c) (5C:90) [09:23:16:166]: Doing action: AI_DATA_SETTER_6
Action 09:23:16: AI_DATA_SETTER_6. 
Action start 09:23:16: AI_DATA_SETTER_6.
MSI (c) (5C:90) [09:23:16:213]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8009'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8443'.
Action ended 09:23:16: AI_DATA_SETTER_6. Return value 1.
MSI (c) (5C:90) [09:23:16:244]: Doing action: GetFreeTCPPort_REDIRECT
Action 09:23:16: GetFreeTCPPort_REDIRECT. 
Action start 09:23:16: GetFreeTCPPort_REDIRECT.
MSI (c) (5C:AC) [09:23:16:322]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI9303.tmp, Entrypoint: GetFreeTCPPort
Action ended 09:23:16: GetFreeTCPPort_REDIRECT. Return value 1.
MSI (c) (5C:90) [09:23:16:384]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8443'. Its new value: '8005'.
MSI (c) (5C:90) [09:23:16:400]: Doing action: AI_DATA_SETTER_7
Action 09:23:16: AI_DATA_SETTER_7. 
Action start 09:23:16: AI_DATA_SETTER_7.
MSI (c) (5C:90) [09:23:16:447]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8443'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8005'.
Action ended 09:23:16: AI_DATA_SETTER_7. Return value 1.
MSI (c) (5C:90) [09:23:16:478]: Doing action: GetFreeTCPPort_SHUTDOWN
Action 09:23:16: GetFreeTCPPort_SHUTDOWN. 
Action start 09:23:16: GetFreeTCPPort_SHUTDOWN.
MSI (c) (5C:FC) [09:23:16:556]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI93EE.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (5C!14) [09:23:16:587]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8005'. Its new value: '8006'.
Action ended 09:23:16: GetFreeTCPPort_SHUTDOWN. Return value 1.
MSI (c) (5C:90) [09:23:16:618]: Doing action: AI_ComputeReplacedVersions
Action 09:23:16: AI_ComputeReplacedVersions. 
Action start 09:23:16: AI_ComputeReplacedVersions.
MSI (c) (5C:B4) [09:23:16:696]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI947C.tmp, Entrypoint: ComputeReplaceProductsList
Action ended 09:23:16: AI_ComputeReplacedVersions. Return value 1.
MSI (c) (5C:90) [09:23:16:728]: PROPERTY CHANGE: Modifying TC_AJP_PORT property. Its current value is '8010'. Its new value: '8006'.
MSI (c) (5C:90) [09:23:16:759]: PROPERTY CHANGE: Modifying TC_REDIRECT_PORT property. Its current value is '8443'. Its new value: '8006'.
MSI (c) (5C:90) [09:23:16:774]: PROPERTY CHANGE: Modifying TC_SHUTDOWN_PORT property. Its current value is '8005'. Its new value: '8006'.
Info 2863. The control TypicalButton on dialog SetupTypeDlg needs the icon insticon in size 32x32, but that size is not available. Loading the first available size.
Info 2898. For DlgFontBold8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Action 09:23:16: SetupTypeDlg. Dialog created
Excerpt from my custom "Refresh" button:

Code: Select all

MSI (c) (5C:90) [09:25:56:033]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8006'. Its new value: '8082'.
MSI (c) (5C:90) [09:25:56:064]: Doing action: AI_DATA_SETTER_5
Action 09:25:56: AI_DATA_SETTER_5. 
Action start 09:25:56: AI_DATA_SETTER_5.
MSI (c) (5C:90) [09:25:56:111]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8005'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8080'.
Action ended 09:25:56: AI_DATA_SETTER_5. Return value 1.
MSI (c) (5C:90) [09:25:56:142]: Doing action: GetFreeTCPPort_HTTP
Action 09:25:56: GetFreeTCPPort_HTTP. 
Action start 09:25:56: GetFreeTCPPort_HTTP.
MSI (c) (5C:70) [09:25:56:220]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI3AB.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (5C!7C) [09:25:56:235]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8082'. Its new value: '8080'.
MSI (c) (5C!7C) [09:25:56:267]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8080'. Its new value: '8082'.
Action ended 09:25:56: GetFreeTCPPort_HTTP. Return value 1.
MSI (c) (5C:90) [09:25:56:298]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8082'. Its new value: '8010'.
MSI (c) (5C:90) [09:25:56:313]: Doing action: AI_DATA_SETTER_4
Action 09:25:56: AI_DATA_SETTER_4. 
Action start 09:25:56: AI_DATA_SETTER_4.
MSI (c) (5C:90) [09:25:56:360]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8080'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8009'.
Action ended 09:25:56: AI_DATA_SETTER_4. Return value 1.
MSI (c) (5C:90) [09:25:56:391]: Doing action: GetFreeTCPPort_AJP
Action 09:25:56: GetFreeTCPPort_AJP. 
Action start 09:25:56: GetFreeTCPPort_AJP.
MSI (c) (5C:B0) [09:25:56:469]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI4A6.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (5C!94) [09:25:56:501]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8010'. Its new value: '8009'.
MSI (c) (5C!94) [09:25:56:516]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8009'. Its new value: '8010'.
Action ended 09:25:56: GetFreeTCPPort_AJP. Return value 1.
MSI (c) (5C:90) [09:25:56:547]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8010'. Its new value: '8443'.
MSI (c) (5C:90) [09:25:56:563]: Doing action: AI_DATA_SETTER_6
Action 09:25:56: AI_DATA_SETTER_6. 
Action start 09:25:56: AI_DATA_SETTER_6.
MSI (c) (5C:90) [09:25:56:610]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8009'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8443'.
Action ended 09:25:56: AI_DATA_SETTER_6. Return value 1.
MSI (c) (5C:90) [09:25:56:657]: Doing action: GetFreeTCPPort_REDIRECT
Action 09:25:56: GetFreeTCPPort_REDIRECT. 
Action start 09:25:56: GetFreeTCPPort_REDIRECT.
MSI (c) (5C:34) [09:25:56:735]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI5B0.tmp, Entrypoint: GetFreeTCPPort
Action ended 09:25:56: GetFreeTCPPort_REDIRECT. Return value 1.
MSI (c) (5C:90) [09:25:56:781]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8443'. Its new value: '8006'.
MSI (c) (5C:90) [09:25:56:797]: Doing action: AI_DATA_SETTER_7
Action 09:25:56: AI_DATA_SETTER_7. 
Action start 09:25:56: AI_DATA_SETTER_7.
MSI (c) (5C:90) [09:25:56:859]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8443'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8005'.
Action ended 09:25:56: AI_DATA_SETTER_7. Return value 1.
MSI (c) (5C:90) [09:25:56:891]: Doing action: GetFreeTCPPort_SHUTDOWN
Action 09:25:56: GetFreeTCPPort_SHUTDOWN. 
Action start 09:25:56: GetFreeTCPPort_SHUTDOWN.
MSI (c) (5C:80) [09:25:56:969]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSI69B.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (5C!8C) [09:25:56:984]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8006'. Its new value: '8005'.
MSI (c) (5C!8C) [09:25:57:015]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8005'. Its new value: '8006'.
Action ended 09:25:57: GetFreeTCPPort_SHUTDOWN. Return value 1.
AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Re: Need Some Help Tweaking Tomcat Port Configuration

Please excuse the double post, but I'd rather do this than confuse matters by adding more logging to the previous post. While the two blocks there are just quick excerpts, this one is the full output from running my installer and selecting a "Typical" installation (this completely skips my custom dialog page). It's almost as though the installer is assigning the correct values at first, then overwriting it with the incorrect ones later.. I can't tell why though.

Code: Select all

=== Verbose logging started: 2014/08/26  09:37:29  Build type: SHIP UNICODE 5.00.7600.00  Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (94:F0) [09:37:29:960]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (94:F0) [09:37:29:975]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (94:0C) [09:37:30:022]: Resetting cached policy values
MSI (c) (94:0C) [09:37:30:022]: Machine policy value 'Debug' is 0
MSI (c) (94:0C) [09:37:30:038]: ******* RunEngine:
           ******* Product: D:\Installer Packages\1 - AIP Output\Fenxi Software Suite.msi
           ******* Action: 
           ******* CommandLine: **********
MSI (c) (94:0C) [09:37:30:490]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (94:0C) [09:37:30:521]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'D:\Installer Packages\1 - AIP Output\Fenxi Software Suite.msi' against software restriction policy
MSI (c) (94:0C) [09:37:30:537]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 
MSI (c) (94:0C) [09:37:30:552]: SOFTWARE RESTRICTION POLICY: D:\Installer Packages\1 - AIP Output\Fenxi Software Suite.msi is not digitally signed
MSI (c) (94:0C) [09:37:30:568]: SOFTWARE RESTRICTION POLICY: D:\Installer Packages\1 - AIP Output\Fenxi Software Suite.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (94:0C) [09:37:30:584]: Cloaking enabled.
MSI (c) (94:0C) [09:37:30:599]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (94:0C) [09:37:30:615]: End dialog not enabled
MSI (c) (94:0C) [09:37:30:630]: Original package ==> D:\Installer Packages\1 - AIP Output\Fenxi Software Suite.msi
MSI (c) (94:0C) [09:37:30:646]: Package we're running from ==> D:\Installer Packages\1 - AIP Output\Fenxi Software Suite.msi
MSI (c) (94:0C) [09:37:30:662]: APPCOMPAT: Compatibility mode property overrides found.
MSI (c) (94:0C) [09:37:30:677]: APPCOMPAT: looking for appcompat database entry with ProductCode '{5FBF90A5-A9B5-4D96-B754-14BDB8B48800}'.
MSI (c) (94:0C) [09:37:30:693]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (94:0C) [09:37:30:724]: MSCOREE not loaded loading copy from system32
MSI (c) (94:0C) [09:37:30:740]: Machine policy value 'TransformsSecure' is 0
MSI (c) (94:0C) [09:37:30:755]: User policy value 'TransformsAtSource' is 0
MSI (c) (94:0C) [09:37:30:771]: Note: 1: 2205 2:  3: MsiFileHash 
MSI (c) (94:0C) [09:37:30:786]: Machine policy value 'DisablePatch' is 0
MSI (c) (94:0C) [09:37:30:802]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (94:0C) [09:37:30:818]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (94:0C) [09:37:30:833]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (94:0C) [09:37:30:864]: APPCOMPAT: looking for appcompat database entry with ProductCode '{5FBF90A5-A9B5-4D96-B754-14BDB8B48800}'.
MSI (c) (94:0C) [09:37:30:880]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (94:0C) [09:37:30:896]: Transforms are not secure.
MSI (c) (94:0C) [09:37:30:911]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\swtest\AppData\Local\Temp\log9978.log'.
MSI (c) (94:0C) [09:37:30:927]: Command Line: CURRENTDIRECTORY=D:\Installer Packages CLIENTUILEVEL=0 CLIENTPROCESSID=660 
MSI (c) (94:0C) [09:37:30:942]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{18EEDEF8-1A02-4AAB-BB04-BD6E0A30723C}'.
MSI (c) (94:0C) [09:37:30:958]: Product Code passed to Engine.Initialize:           ''
MSI (c) (94:0C) [09:37:30:974]: Product Code from property table before transforms: '{5FBF90A5-A9B5-4D96-B754-14BDB8B48800}'
MSI (c) (94:0C) [09:37:31:005]: Product Code from property table after transforms:  '{5FBF90A5-A9B5-4D96-B754-14BDB8B48800}'
MSI (c) (94:0C) [09:37:31:020]: Product not registered: beginning first-time install
MSI (c) (94:0C) [09:37:31:067]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (94:0C) [09:37:31:114]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (94:0C) [09:37:31:176]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (94:0C) [09:37:31:208]: Adding new sources is allowed.
MSI (c) (94:0C) [09:37:31:239]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (94:0C) [09:37:31:254]: Package name extracted from package path: 'Fenxi Software Suite.msi'
MSI (c) (94:0C) [09:37:31:270]: Package to be registered: 'Fenxi Software Suite.msi'
MSI (c) (94:0C) [09:37:31:286]: Note: 1: 2262 2: AdminProperties 3: -2147287038 
MSI (c) (94:0C) [09:37:31:301]: Machine policy value 'DisableMsi' is 0
MSI (c) (94:0C) [09:37:31:317]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (94:0C) [09:37:31:348]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (94:0C) [09:37:31:348]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (94:0C) [09:37:31:379]: Running product '{5FBF90A5-A9B5-4D96-B754-14BDB8B48800}' with elevated privileges: Product is assigned.
MSI (c) (94:0C) [09:37:31:410]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'D:\Installer Packages'.
MSI (c) (94:0C) [09:37:31:426]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (94:0C) [09:37:31:457]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '660'.
MSI (c) (94:0C) [09:37:31:457]: TRANSFORMS property is now: 
MSI (c) (94:0C) [09:37:31:488]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (94:0C) [09:37:31:504]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming
MSI (c) (94:0C) [09:37:31:520]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\Favorites
MSI (c) (94:0C) [09:37:31:535]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (c) (94:0C) [09:37:31:566]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\Documents
MSI (c) (94:0C) [09:37:31:566]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (c) (94:0C) [09:37:31:598]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Recent
MSI (c) (94:0C) [09:37:31:613]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\SendTo
MSI (c) (94:0C) [09:37:31:629]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Templates
MSI (c) (94:0C) [09:37:31:644]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (c) (94:0C) [09:37:31:660]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Local
MSI (c) (94:0C) [09:37:31:676]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\Pictures
MSI (c) (94:0C) [09:37:31:707]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (94:0C) [09:37:31:707]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (94:0C) [09:37:31:738]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (94:0C) [09:37:31:754]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (c) (94:0C) [09:37:31:769]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (c) (94:0C) [09:37:31:785]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (94:0C) [09:37:31:816]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (94:0C) [09:37:31:816]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (c) (94:0C) [09:37:31:847]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (c) (94:0C) [09:37:31:863]: SHELL32::SHGetFolderPath returned: C:\Users\swtest\Desktop
MSI (c) (94:0C) [09:37:31:878]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (c) (94:0C) [09:37:31:910]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
MSI (c) (94:0C) [09:37:31:925]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16 
MSI (c) (94:0C) [09:37:31:941]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated.
MSI (c) (94:0C) [09:37:31:956]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'.
MSI (c) (94:0C) [09:37:31:988]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (94:0C) [09:37:31:988]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 
MSI (c) (94:0C) [09:37:32:019]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'Ahmed'.
MSI (c) (94:0C) [09:37:32:034]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 
MSI (c) (94:0C) [09:37:32:050]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'D:\Installer Packages\1 - AIP Output\Fenxi Software Suite.msi'.
MSI (c) (94:0C) [09:37:32:066]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'D:\Installer Packages\1 - AIP Output\Fenxi Software Suite.msi'.
MSI (c) (94:0C) [09:37:32:081]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (94:0C) [09:37:32:112]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'D:\Installer Packages\1 - AIP Output\'.
MSI (c) (94:0C) [09:37:32:112]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'D:\Installer Packages\1 - AIP Output\'.
MSI (c) (94:F0) [09:37:32:144]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '5.00'.
=== Logging started: 2014/08/26  09:37:32 ===
MSI (c) (94:0C) [09:37:32:175]: Note: 1: 2262 2: PatchPackage 3: -2147287038 
MSI (c) (94:0C) [09:37:32:190]: Machine policy value 'DisableRollback' is 0
MSI (c) (94:0C) [09:37:32:206]: User policy value 'DisableRollback' is 0
MSI (c) (94:0C) [09:37:32:222]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (94:0C) [09:37:32:253]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (94:0C) [09:37:32:268]: Doing action: INSTALL
Action 09:37:32: INSTALL. 
Action start 09:37:32: INSTALL.
MSI (c) (94:0C) [09:37:32:315]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (94:0C) [09:37:32:331]: Running UISequence
MSI (c) (94:0C) [09:37:32:346]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (94:0C) [09:37:32:378]: Doing action: AI_SET_INSTALL
Action 09:37:32: AI_SET_INSTALL. 
Action start 09:37:32: AI_SET_INSTALL.
MSI (c) (94:0C) [09:37:32:424]: PROPERTY CHANGE: Adding AI_INSTALL property. Its value is '1'.
Action ended 09:37:32: AI_SET_INSTALL. Return value 1.
MSI (c) (94:0C) [09:37:32:456]: Skipping action: AI_SET_MAINT (condition is false)
MSI (c) (94:0C) [09:37:32:487]: Skipping action: AI_SET_RESUME (condition is false)
MSI (c) (94:0C) [09:37:32:502]: Skipping action: AI_SET_PATCH (condition is false)
MSI (c) (94:0C) [09:37:32:518]: Skipping action: AI_CORRECT_INSTALL (condition is false)
MSI (c) (94:0C) [09:37:32:534]: Doing action: AI_DpiContentScale
Action 09:37:32: AI_DpiContentScale. 
Action start 09:37:32: AI_DpiContentScale.
MSI (c) (94:B0) [09:37:32:612]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIA3DE.tmp, Entrypoint: DpiContentScale
MSI (c) (94:4C) [09:37:32:627]: Cloaking enabled.
MSI (c) (94:4C) [09:37:32:643]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (94:4C) [09:37:32:674]: Connected to service for CA interface.
MSI (c) (94!B4) [09:37:32:736]: PROPERTY CHANGE: Adding AI_SYSTEM_DPI property. Its value is '96'.
MSI (c) (94!B4) [09:37:32:768]: PROPERTY CHANGE: Adding AI_SYSTEM_DPI_SCALE property. Its value is '100'.
Action ended 09:37:32: AI_DpiContentScale. Return value 1.
MSI (c) (94:0C) [09:37:32:830]: Doing action: AI_ResolveKnownFolders
Action 09:37:32: AI_ResolveKnownFolders. 
Action start 09:37:32: AI_ResolveKnownFolders.
MSI (c) (94:1C) [09:37:32:892]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIA507.tmp, Entrypoint: AI_ResolveKnownFolders
MSI (c) (94!D8) [09:37:32:924]: PROPERTY CHANGE: Adding SavedGamesFolder property. Its value is 'C:\Users\swtest\Saved Games\'.
MSI (c) (94!D8) [09:37:32:939]: PROPERTY CHANGE: Adding WindowsLibrariesFolder property. Its value is 'C:\Users\swtest\AppData\Roaming\Microsoft\Windows\Libraries\'.
MSI (c) (94!D8) [09:37:32:970]: PROPERTY CHANGE: Adding PublicDocumentsFolder property. Its value is 'C:\Users\Public\Documents\'.
Action ended 09:37:32: AI_ResolveKnownFolders. Return value 1.
MSI (c) (94:0C) [09:37:33:002]: Doing action: AI_SET_EXTENDER_IMAGES
Action 09:37:33: AI_SET_EXTENDER_IMAGES. 
Action start 09:37:33: AI_SET_EXTENDER_IMAGES.
MSI (c) (94:0C) [09:37:33:048]: PROPERTY CHANGE: Adding AI_EXTENDER_IMAGES property. Its value is 'GlassBackground'.
Action ended 09:37:33: AI_SET_EXTENDER_IMAGES. Return value 1.
MSI (c) (94:0C) [09:37:33:095]: Doing action: PrepareDlg
Action 09:37:33: PrepareDlg. 
Action start 09:37:33: PrepareDlg.
Info 2898. For Title textstyle, the system created a 'Tahoma' font, in 0 character set.
Info 2898. For DlgFont8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Info 2898. For Manufacturer textstyle, the system created a 'Verdana' font, in 0 character set.
Info 2898. For ProductName textstyle, the system created a 'Verdana' font, in 0 character set.
Action 09:37:33: PrepareDlg. Dialog created
Action ended 09:37:33: PrepareDlg. Return value 1.
MSI (c) (94:0C) [09:37:33:282]: Doing action: AI_POP_UP
Action 09:37:33: AI_POP_UP. 
Action start 09:37:33: AI_POP_UP.
MSI (c) (94:F4) [09:37:33:376]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIA6DC.tmp, Entrypoint: TrialMessage
Info 2898. For SubTitle8 textstyle, the system created a 'Verdana' font, in 0 character set.
This package was created with a trial version of Advanced Installer. You may use it for evaluation purposes only.
Action ended 09:37:34: AI_POP_UP. Return value 1.
MSI (c) (94:0C) [09:37:34:765]: Doing action: AI_SET_EXTEND_GLASS
Action 09:37:34: AI_SET_EXTEND_GLASS. 
Action start 09:37:34: AI_SET_EXTEND_GLASS.
MSI (c) (94:0C) [09:37:34:811]: PROPERTY CHANGE: Modifying AI_EXTEND_GLASS property. Its current value is '-1'. Its new value: '26'.
Action ended 09:37:34: AI_SET_EXTEND_GLASS. Return value 1.
MSI (c) (94:0C) [09:37:34:843]: Doing action: AI_SET_EXTENDER_IMAGES_SMALL
Action 09:37:34: AI_SET_EXTENDER_IMAGES_SMALL. 
Action start 09:37:34: AI_SET_EXTENDER_IMAGES_SMALL.
MSI (c) (94:0C) [09:37:34:905]: PROPERTY CHANGE: Modifying AI_EXTENDER_IMAGES property. Its current value is 'GlassBackground'. Its new value: 'GlassBackgroundSmall'.
Action ended 09:37:34: AI_SET_EXTENDER_IMAGES_SMALL. Return value 1.
MSI (c) (94:0C) [09:37:34:936]: Doing action: AI_BACKUP_AI_SETUPEXEPATH
Action 09:37:34: AI_BACKUP_AI_SETUPEXEPATH. 
Action start 09:37:34: AI_BACKUP_AI_SETUPEXEPATH.
Action ended 09:37:34: AI_BACKUP_AI_SETUPEXEPATH. Return value 1.
MSI (c) (94:0C) [09:37:35:014]: Doing action: AppSearch
Action 09:37:35: AppSearch. Searching for installed applications
Action start 09:37:35: AppSearch.
AppSearch: Property: AI_SHORTCUTSREG, Signature: AI_ShRegOptionMachine
MSI (c) (94:0C) [09:37:35:077]: Note: 1: 2262 2: Signature 3: -2147287038 
MSI (c) (94:0C) [09:37:35:108]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Caphyon\Advanced Installer\Installs\{5FBF90A5-A9B5-4D96-B754-14BDB8B48800} 3: 2 
AppSearch: Property: AI_SHORTCUTSREG, Signature: AI_ShRegOptionUser
MSI (c) (94:0C) [09:37:35:139]: Note: 1: 2262 2: Signature 3: -2147287038 
MSI (c) (94:0C) [09:37:35:155]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Caphyon\Advanced Installer\Installs\{5FBF90A5-A9B5-4D96-B754-14BDB8B48800} 3: 2 
Action ended 09:37:35: AppSearch. Return value 1.
MSI (c) (94:0C) [09:37:35:201]: Doing action: AI_AppSearchEx
Action 09:37:35: AI_AppSearchEx. 
Action start 09:37:35: AI_AppSearchEx.
MSI (c) (94:0C) [09:37:35:279]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIAE4C.tmp, Entrypoint: DoAppSearchEx
Action 09:37:35: AI_AppSearchEx. Searching for installed applications
MSI (c) (94!D0) [09:37:35:342]: Note: 1: 2205 2:  3: AI_AppSearchEx 
MSI (c) (94!D0) [09:37:35:357]: Note: 1: 2228 2:  3: AI_AppSearchEx 4: SELECT `Property`,`Condition`,`Type`,`SearchString`,`VerMin`,`VerMax`,`Platform`,`RefContent` FROM `AI_AppSearchEx` ORDER BY `Order` 
Action 09:37:35: . 
:  
MSI (c) (94!D0) [09:37:35:467]: Note: 1: 2205 2:  3: AI_PreRequisite 
MSI (c) (94!D0) [09:37:35:482]: Note: 1: 2228 2:  3: AI_PreRequisite 4: SELECT `PrereqKey`,`DisplayName`,`SetupFileUrl`,`Location`,`ExactSize`,`ComLine`,`BasicUiComLine`,`NoUiComLine`,`Options`,`Sequence`,`MD5`,`TargetName`,`Languages`,`Feature_`,`MissingCondition`,`RetValPropName`,`RepairComLine`,`UninstallComLine` FROM `AI_PreRequisite` ORDER BY `Sequence` 
MSI (c) (94!D0) [09:37:35:513]: PROPERTY CHANGE: Adding AI_PrereqsFulfilled property. Its value is '1'.
Action ended 09:37:35: AI_AppSearchEx. Return value 1.
MSI (c) (94:0C) [09:37:35:545]: Skipping action: AI_RESTORE_AI_SETUPEXEPATH (condition is false)
MSI (c) (94:0C) [09:37:35:560]: Doing action: FindRelatedProducts
Action 09:37:35: FindRelatedProducts. Searching for related applications
Action start 09:37:35: FindRelatedProducts.
Action ended 09:37:35: FindRelatedProducts. Return value 1.
MSI (c) (94:0C) [09:37:35:638]: Doing action: LaunchConditions
Action 09:37:35: LaunchConditions. Evaluating launch conditions
Action start 09:37:35: LaunchConditions.
Action ended 09:37:35: LaunchConditions. Return value 1.
MSI (c) (94:0C) [09:37:35:701]: Doing action: AI_RESTORE_LOCATION
Action 09:37:35: AI_RESTORE_LOCATION. 
Action start 09:37:35: AI_RESTORE_LOCATION.
MSI (c) (94:8C) [09:37:35:779]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIB041.tmp, Entrypoint: RestoreLocation
Action ended 09:37:35: AI_RESTORE_LOCATION. Return value 1.
MSI (c) (94:0C) [09:37:35:825]: Doing action: SET_APPDIR
Action 09:37:35: SET_APPDIR. 
Action start 09:37:35: SET_APPDIR.
MSI (c) (94:0C) [09:37:35:888]: PROPERTY CHANGE: Adding APPDIR property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite'.
Action ended 09:37:35: SET_APPDIR. Return value 1.
MSI (c) (94:0C) [09:37:35:919]: Doing action: SET_SHORTCUTDIR
Action 09:37:35: SET_SHORTCUTDIR. 
Action start 09:37:35: SET_SHORTCUTDIR.
MSI (c) (94:0C) [09:37:35:981]: PROPERTY CHANGE: Adding SHORTCUTDIR property. Its value is 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Fenxi Suite'.
Action ended 09:37:35: SET_SHORTCUTDIR. Return value 1.
MSI (c) (94:0C) [09:37:36:013]: Doing action: CostInitialize
Action 09:37:36: CostInitialize. Computing space requirements
Action start 09:37:36: CostInitialize.
MSI (c) (94:0C) [09:37:36:075]: Machine policy value 'MaxPatchCacheSize' is 10
MSI (c) (94:0C) [09:37:36:091]: PROPERTY CHANGE: Adding ROOTDRIVE property. Its value is 'D:\'.
MSI (c) (94:0C) [09:37:36:106]: PROPERTY CHANGE: Adding CostingComplete property. Its value is '0'.
Action ended 09:37:36: CostInitialize. Return value 1.
MSI (c) (94:0C) [09:37:36:137]: Doing action: FileCost
Action 09:37:36: FileCost. Computing space requirements
Action start 09:37:36: FileCost.
MSI (c) (94:0C) [09:37:36:200]: Note: 1: 2205 2:  3: MsiAssembly 
MSI (c) (94:0C) [09:37:36:215]: Note: 1: 2205 2:  3: Class 
MSI (c) (94:0C) [09:37:36:247]: Note: 1: 2205 2:  3: Extension 
MSI (c) (94:0C) [09:37:36:262]: Note: 1: 2205 2:  3: TypeLib 
Action ended 09:37:36: FileCost. Return value 1.
MSI (c) (94:0C) [09:37:36:293]: Doing action: CostFinalize
Action 09:37:36: CostFinalize. Computing space requirements
Action start 09:37:36: CostFinalize.
MSI (c) (94:0C) [09:37:36:356]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (c) (94:0C) [09:37:36:371]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (c) (94:0C) [09:37:36:387]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (c) (94:0C) [09:37:36:403]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (c) (94:0C) [09:37:36:434]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (c) (94:0C) [09:37:36:449]: Note: 1: 2262 2: Patch 3: -2147287038 
MSI (c) (94:0C) [09:37:36:465]: Note: 1: 2262 2: Condition 3: -2147287038 
MSI (c) (94:0C) [09:37:36:481]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'D:\'.
MSI (c) (94:0C) [09:37:36:496]: PROPERTY CHANGE: Modifying APPDIR property. Its current value is 'C:\Program Files\Nortech International\Fenxi Suite'. Its new value: 'C:\Program Files\Nortech International\Fenxi Suite\'.
MSI (c) (94:0C) [09:37:36:512]: PROPERTY CHANGE: Adding FenxiTools_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\'.
MSI (c) (94:0C) [09:37:36:527]: PROPERTY CHANGE: Adding logs_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\logs\'.
MSI (c) (94:0C) [09:37:36:559]: PROPERTY CHANGE: Adding video_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\video\'.
MSI (c) (94:0C) [09:37:36:574]: PROPERTY CHANGE: Adding language_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\language\'.
MSI (c) (94:0C) [09:37:36:590]: PROPERTY CHANGE: Adding data_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\data\'.
MSI (c) (94:0C) [09:37:36:605]: PROPERTY CHANGE: Adding resources_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\resources\'.
MSI (c) (94:0C) [09:37:36:621]: PROPERTY CHANGE: Adding lib_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\lib\'.
MSI (c) (94:0C) [09:37:36:637]: PROPERTY CHANGE: Adding ffmpeg_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\ffmpeg\'.
MSI (c) (94:0C) [09:37:36:668]: PROPERTY CHANGE: Adding bin_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\ffmpeg\bin\'.
MSI (c) (94:0C) [09:37:36:683]: PROPERTY CHANGE: Adding Tomcatcustom_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\'.
MSI (c) (94:0C) [09:37:36:699]: PROPERTY CHANGE: Adding work_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\work\'.
MSI (c) (94:0C) [09:37:36:715]: PROPERTY CHANGE: Adding temp_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\temp\'.
MSI (c) (94:0C) [09:37:36:730]: PROPERTY CHANGE: Adding logs_1_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\logs\'.
MSI (c) (94:0C) [09:37:36:746]: PROPERTY CHANGE: Adding webapps_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\'.
MSI (c) (94:0C) [09:37:36:761]: PROPERTY CHANGE: Adding manager_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\'.
MSI (c) (94:0C) [09:37:36:793]: PROPERTY CHANGE: Adding METAINF_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\META-INF\'.
MSI (c) (94:0C) [09:37:36:808]: PROPERTY CHANGE: Adding WEBINF_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\WEB-INF\'.
MSI (c) (94:0C) [09:37:36:824]: PROPERTY CHANGE: Adding jsp_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\WEB-INF\jsp\'.
MSI (c) (94:0C) [09:37:36:839]: PROPERTY CHANGE: Adding images_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\images\'.
MSI (c) (94:0C) [09:37:36:855]: PROPERTY CHANGE: Adding bin_1_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\bin\'.
MSI (c) (94:0C) [09:37:36:871]: PROPERTY CHANGE: Adding conf_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\conf\'.
MSI (c) (94:0C) [09:37:36:886]: PROPERTY CHANGE: Adding Catalina_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\conf\Catalina\'.
MSI (c) (94:0C) [09:37:36:902]: PROPERTY CHANGE: Adding lib_1_Dir property. Its value is 'C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\lib\'.
MSI (c) (94:0C) [09:37:36:917]: Target path resolution complete. Dumping Directory table...
MSI (c) (94:0C) [09:37:36:933]: Note: target paths subject to change (via custom actions or browsing)
MSI (c) (94:0C) [09:37:36:949]: Dir (target): Key: TARGETDIR	, Object: D:\
MSI (c) (94:0C) [09:37:36:964]: Dir (target): Key: WindowsFolder	, Object: C:\Windows\
MSI (c) (94:0C) [09:37:36:995]: Dir (target): Key: APPDIR	, Object: C:\Program Files\Nortech International\Fenxi Suite\
MSI (c) (94:0C) [09:37:37:011]: Dir (target): Key: FenxiTools_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\
MSI (c) (94:0C) [09:37:37:027]: Dir (target): Key: logs_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\logs\
MSI (c) (94:0C) [09:37:37:042]: Dir (target): Key: video_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\video\
MSI (c) (94:0C) [09:37:37:058]: Dir (target): Key: language_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\language\
MSI (c) (94:0C) [09:37:37:089]: Dir (target): Key: data_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\data\
MSI (c) (94:0C) [09:37:37:136]: Dir (target): Key: resources_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\resources\
MSI (c) (94:0C) [09:37:37:151]: Dir (target): Key: lib_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\lib\
MSI (c) (94:0C) [09:37:37:167]: Dir (target): Key: ffmpeg_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\ffmpeg\
MSI (c) (94:0C) [09:37:37:183]: Dir (target): Key: bin_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\FenxiTools\ffmpeg\bin\
MSI (c) (94:0C) [09:37:37:198]: Dir (target): Key: Tomcatcustom_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\
MSI (c) (94:0C) [09:37:37:214]: Dir (target): Key: work_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\work\
MSI (c) (94:0C) [09:37:37:245]: Dir (target): Key: temp_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\temp\
MSI (c) (94:0C) [09:37:37:261]: Dir (target): Key: logs_1_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\logs\
MSI (c) (94:0C) [09:37:37:276]: Dir (target): Key: webapps_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\
MSI (c) (94:0C) [09:37:37:292]: Dir (target): Key: manager_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\
MSI (c) (94:0C) [09:37:37:307]: Dir (target): Key: METAINF_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\META-INF\
MSI (c) (94:0C) [09:37:37:323]: Dir (target): Key: WEBINF_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\WEB-INF\
MSI (c) (94:0C) [09:37:37:339]: Dir (target): Key: jsp_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\WEB-INF\jsp\
MSI (c) (94:0C) [09:37:37:370]: Dir (target): Key: images_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\webapps\manager\images\
MSI (c) (94:0C) [09:37:37:463]: Dir (target): Key: bin_1_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\bin\
MSI (c) (94:0C) [09:37:37:526]: Dir (target): Key: conf_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\conf\
MSI (c) (94:0C) [09:37:37:557]: Dir (target): Key: Catalina_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\conf\Catalina\
MSI (c) (94:0C) [09:37:37:573]: Dir (target): Key: lib_1_Dir	, Object: C:\Program Files\Nortech International\Fenxi Suite\Tomcat-custom\lib\
MSI (c) (94:0C) [09:37:37:588]: Note: 1: 2205 2:  3: MsiAssembly 
MSI (c) (94:0C) [09:37:37:604]: Note: 1: 2228 2:  3: MsiAssembly 4:  SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`,  `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE  `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ? 
Action ended 09:37:37: CostFinalize. Return value 1.
MSI (c) (94:0C) [09:37:37:635]: Doing action: MigrateFeatureStates
Action 09:37:37: MigrateFeatureStates. Migrating feature states from related applications
Action start 09:37:37: MigrateFeatureStates.
Action ended 09:37:37: MigrateFeatureStates. Return value 0.
MSI (c) (94:0C) [09:37:37:713]: Doing action: WelcomeDlg
Action 09:37:37: WelcomeDlg. 
Action start 09:37:37: WelcomeDlg.
Info 2898. For ImageButton textstyle, the system created a 'Tahoma' font, in 0 character set.
Info 2898. For SubTitle textstyle, the system created a 'Verdana' font, in 0 character set.
Action 09:37:37: WelcomeDlg. Dialog created
MSI (c) (94:A0) [09:37:37:885]: Note: 1: 2205 2:  3: _RemoveFilePath 
MSI (c) (94:A0) [09:37:37:900]: Note: 1: 2205 2:  3: MsiFileHash 
MSI (c) (94:A0) [09:37:37:916]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'.
MSI (c) (94:A0) [09:37:37:947]: Note: 1: 2205 2:  3: BindImage 
MSI (c) (94:A0) [09:37:37:963]: Note: 1: 2205 2:  3: ProgId 
MSI (c) (94:A0) [09:37:37:978]: Note: 1: 2205 2:  3: PublishComponent 
MSI (c) (94:A0) [09:37:37:994]: Note: 1: 2205 2:  3: SelfReg 
MSI (c) (94:A0) [09:37:38:009]: Note: 1: 2205 2:  3: Extension 
MSI (c) (94:A0) [09:37:38:041]: Note: 1: 2205 2:  3: Font 
MSI (c) (94:A0) [09:37:38:056]: Note: 1: 2205 2:  3: Shortcut 
MSI (c) (94:A0) [09:37:38:072]: Note: 1: 2205 2:  3: Class 
MSI (c) (94:A0) [09:37:38:087]: Note: 1: 2205 2:  3: Icon 
MSI (c) (94:A0) [09:37:38:103]: Note: 1: 2205 2:  3: TypeLib 
MSI (c) (94:A0) [09:37:38:119]: Note: 1: 2727 2:  
Action 09:37:45: FolderDlg. Dialog created
MSI (c) (94:F0) [09:37:46:402]: Note: 1: 2727 2:  
MSI (c) (94:F0) [09:37:46:917]: Note: 1: 2727 2:  
MSI (c) (94:F0) [09:37:46:933]: PROPERTY CHANGE: Adding AI_SEARCH_TCP_PORT property. Its value is '8080'.
MSI (c) (94:F0) [09:37:46:964]: Doing action: AI_DATA_SETTER_5
Action 09:37:46: AI_DATA_SETTER_5. 
Action start 09:37:46: AI_DATA_SETTER_5.
MSI (c) (94:F0) [09:37:47:011]: PROPERTY CHANGE: Adding CustomActionData property. Its value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8080'.
Action ended 09:37:47: AI_DATA_SETTER_5. Return value 1.
MSI (c) (94:F0) [09:37:47:042]: Doing action: GetFreeTCPPort_HTTP
Action 09:37:47: GetFreeTCPPort_HTTP. 
Action start 09:37:47: GetFreeTCPPort_HTTP.
MSI (c) (94:BC) [09:37:47:136]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIDC9E.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (94!28) [09:37:47:167]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8080'. Its new value: '8082'.
MSI (c) (94!28) [09:37:47:198]: PROPERTY CHANGE: Adding AI_PORT_TEST_RES property. Its value is 'FreePort'.
Action ended 09:37:47: GetFreeTCPPort_HTTP. Return value 1.
MSI (c) (94:F0) [09:37:47:229]: PROPERTY CHANGE: Modifying TC_HTTP_PORT property. Its current value is '8080'. Its new value: '8082'.
MSI (c) (94:F0) [09:37:47:245]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8082'. Its new value: '8009'.
MSI (c) (94:F0) [09:37:47:260]: Doing action: AI_DATA_SETTER_4
Action 09:37:47: AI_DATA_SETTER_4. 
Action start 09:37:47: AI_DATA_SETTER_4.
MSI (c) (94:F0) [09:37:47:323]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8080'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8009'.
Action ended 09:37:47: AI_DATA_SETTER_4. Return value 1.
MSI (c) (94:F0) [09:37:47:370]: Doing action: GetFreeTCPPort_AJP
Action 09:37:47: GetFreeTCPPort_AJP. 
Action start 09:37:47: GetFreeTCPPort_AJP.
MSI (c) (94:00) [09:37:47:463]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIDDE7.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (94!4C) [09:37:47:494]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8009'. Its new value: '8010'.
Action ended 09:37:47: GetFreeTCPPort_AJP. Return value 1.
MSI (c) (94:F0) [09:37:47:541]: PROPERTY CHANGE: Modifying TC_AJP_PORT property. Its current value is '8009'. Its new value: '8010'.
MSI (c) (94:F0) [09:37:47:557]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8010'. Its new value: '8443'.
MSI (c) (94:F0) [09:37:47:572]: Doing action: AI_DATA_SETTER_6
Action 09:37:47: AI_DATA_SETTER_6. 
Action start 09:37:47: AI_DATA_SETTER_6.
MSI (c) (94:F0) [09:37:47:619]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8009'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8443'.
Action ended 09:37:47: AI_DATA_SETTER_6. Return value 1.
MSI (c) (94:F0) [09:37:47:650]: Doing action: GetFreeTCPPort_REDIRECT
Action 09:37:47: GetFreeTCPPort_REDIRECT. 
Action start 09:37:47: GetFreeTCPPort_REDIRECT.
MSI (c) (94:74) [09:37:47:728]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIDF01.tmp, Entrypoint: GetFreeTCPPort
Action ended 09:37:47: GetFreeTCPPort_REDIRECT. Return value 1.
MSI (c) (94:F0) [09:37:47:791]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8443'. Its new value: '8005'.
MSI (c) (94:F0) [09:37:47:806]: Doing action: AI_DATA_SETTER_7
Action 09:37:47: AI_DATA_SETTER_7. 
Action start 09:37:47: AI_DATA_SETTER_7.
MSI (c) (94:F0) [09:37:47:869]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8443'. Its new value: 'AI_BIND_TCP_HOSTAI_SEARCH_TCP_PORT8005'.
Action ended 09:37:47: AI_DATA_SETTER_7. Return value 1.
MSI (c) (94:F0) [09:37:47:900]: Doing action: GetFreeTCPPort_SHUTDOWN
Action 09:37:47: GetFreeTCPPort_SHUTDOWN. 
Action start 09:37:47: GetFreeTCPPort_SHUTDOWN.
MSI (c) (94:50) [09:37:47:978]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIDFEC.tmp, Entrypoint: GetFreeTCPPort
MSI (c) (94!DC) [09:37:47:994]: PROPERTY CHANGE: Modifying AI_SEARCH_TCP_PORT property. Its current value is '8005'. Its new value: '8006'.
Action ended 09:37:48: GetFreeTCPPort_SHUTDOWN. Return value 1.
MSI (c) (94:F0) [09:37:48:056]: Doing action: AI_ComputeReplacedVersions
Action 09:37:48: AI_ComputeReplacedVersions. 
Action start 09:37:48: AI_ComputeReplacedVersions.
MSI (c) (94:28) [09:37:48:118]: Invoking remote custom action. DLL: C:\Users\swtest\AppData\Local\Temp\MSIE089.tmp, Entrypoint: ComputeReplaceProductsList
Action ended 09:37:48: AI_ComputeReplacedVersions. Return value 1.
MSI (c) (94:F0) [09:37:48:165]: PROPERTY CHANGE: Modifying TC_AJP_PORT property. Its current value is '8010'. Its new value: '8006'.
MSI (c) (94:F0) [09:37:48:196]: PROPERTY CHANGE: Modifying TC_REDIRECT_PORT property. Its current value is '8443'. Its new value: '8006'.
MSI (c) (94:F0) [09:37:48:212]: PROPERTY CHANGE: Modifying TC_SHUTDOWN_PORT property. Its current value is '8005'. Its new value: '8006'.
Info 2863. The control TypicalButton on dialog SetupTypeDlg needs the icon insticon in size 32x32, but that size is not available. Loading the first available size.
Info 2898. For DlgFontBold8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Action 09:37:48: SetupTypeDlg. Dialog created
MSI (c) (94:F0) [09:37:49:834]: Note: 1: 2727 2:  
Action 09:37:49: ShortcutsDlg. Dialog created
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need Some Help Tweaking Tomcat Port Configuration

Hello,

I'm not sure why this happens. Can you also please send us the .aip (project file) alongside a step by step test case you are using to support at advancedinstaller dot com so we can investigate this? If your project file contains private info and you cannot make a disclosure you can try to isolate the behavior in a sample and send it us so we can investigate.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Re: Need Some Help Tweaking Tomcat Port Configuration

Thanks Daniel, I just compressed a copy of my project and emailed it now. Hope you can figure out what went wrong (or what I did wrong, if that's the case)..
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need Some Help Tweaking Tomcat Port Configuration

Hello Andre,

Investigating your sent .aip (project file) I found two issues.

Bug1:
Please keep in mind that all our themes (excepting the "Classic" one) from "Themes" page require the "Enhanced User Interface" feature to be used. Also, the EUI feature can be handled only by an EXE package type. Therefore, when using a different theme than "Classic" it is mandatory to enable the EUI and to build an EXE package type. So, you should go to "Media page -> Configuration tab" and choose an EXE package type and then enable the EUI feature to be used from "Themes page -> Settings tab".

However, after you will perform the above changes it seems that your project cannot be built. The following build error is thrown:

Code: Select all

Failed to localize one or more elements in the EXE bootstrapper. ...
This is an Advanced Installer issue. A fix will be available in a future version of Advanced Installer. We'll notify you when this will be out. Until then, as a workaround you can simply copy the "dialog-image.jpg" file from the Advanced Installer installation folder (i.e. "C:\Program Files (x86)\Caphyon\Advanced Installer 11.4.1\themes\air\resources\variations\flat\dialog-image.jpg") in the following location too:

Code: Select all

C:\Program Files (x86)\Caphyon\Advanced Installer 11.4.1\themes\air\resources\variations\white\dialog-image.jpg
Bug2:
Regarding your related behavior (all of your last three port properties are set to 8006 value), this happens because of your init events added on "SetupTypeDlg" dialog. All of these init events will be executed as control events on the control which triggers the "SetupTypeDlg" display. Therefore at build time they will be added as control events scheduled on [Next>] button from "FolderDlg" dialog. They will be added after the existing published events of the [Next>] button in the order they are defined as init events. However, due to an Advanced Installer limitation if an event is added as a published event on [Next>] button and also as an init event on the next dialog, then the related event will be added at build time on the [Next>] button only if in the init event list has an explicit condition set (e.g. AI_PORT_RES_TEST = "FreePort").

Therefore what is happening is that after the published events of the [Next>] button are executed, then from the init events list are added (in the control events list of the [Next>] button) only the events which have an explicit condition set (i.e. AI_PORT_RES_TEST = "FreePort"). Now, the "TC_HTTP_PORT" property keeps its first set value (8082) because you have used a wrong condition on its "Set installer property value" init event. You have used the following condition:
  • AI_PORT_RES_TEST = "FreePort"
instead of
  • AI_PORT_TEST_RES = "FreePort"
Now, in order to avoid this behavior you should explicitly set a condition (e.g. you can use "1=1") on all of your init event which doesn't have an explicit condition set. Also, as another solution you can simply delete all of your init events added on "SetupTypeDlg" dialog because they are also executed on the [Next>] button of the "FolderDlg" dialog. There is no reason to duplicate them on "SetupTypeDlg" dialog too.

We'll add an improvement in a future version of Advanced Installer so that all init event be added and executed on the control which triggers them and already have them added as published events even if they don't have an explicit condition set. Thank you for bringing this to our attention. We'll notify you when this improvement will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Re: Need Some Help Tweaking Tomcat Port Configuration

Wow, thanks so much.. You're a legend. :)
Daniel wrote:Bug1:
Please keep in mind that all our themes (excepting the "Classic" one) from "Themes" page require the "Enhanced User Interface" feature to be used. Also, the EUI feature can be handled only by an EXE package type. Therefore, when using a different theme than "Classic" it is mandatory to enable the EUI and to build an EXE package type. So, you should go to "Media page -> Configuration tab" and choose an EXE package type and then enable the EUI feature to be used from "Themes page -> Settings tab".
I have seen references to the Enhanced User Interface idea, but I didn't realise quite how much of the installer that affected (and I actually thought it was enabled for my project anyway). Your explanation definitely clears that up though. I should also note that I was also getting the "Failed to localize one or more elements in the EXE bootstrapper. ..." error previously. Switching over to the MSI package seemed to fix that, but I see now that it only masked the problem.
Daniel wrote:Bug2:
Regarding your related behavior (all of your last three port properties are set to 8006 value), this happens because of your init events added on "SetupTypeDlg" dialog. All of these init events will be executed as control events on the control which triggers the "SetupTypeDlg" display.
[...]
That explanation helps make sense of a few different points in the event tabs.. I do feel somewhat daft now considering my variable typo; but to be honest, once one has read and re-read variable names like that so many times, one tends to overlook the obvious points a bit too easily. I have now copied the image resource as suggested, which resolves the missing resource error.

All in all, that wraps up this issue then. Thanks for your assistance, greatly appreciated. :)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need Some Help Tweaking Tomcat Port Configuration

You're always welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Need Some Help Tweaking Tomcat Port Configuration

Hello,
Bug1:
Please keep in mind that all our themes (excepting the "Classic" one) from "Themes" page require the "Enhanced User Interface" feature to be used. Also, the EUI feature can be handled only by an EXE package type. Therefore, when using a different theme than "Classic" it is mandatory to enable the EUI and to build an EXE package type. So, you should go to "Media page -> Configuration tab" and choose an EXE package type and then enable the EUI feature to be used from "Themes page -> Settings tab".

However, after you will perform the above changes it seems that your project cannot be built. The following build error is thrown:

Code: Select all

Failed to localize one or more elements in the EXE bootstrapper. ...
This is an Advanced Installer issue. A fix will be available in a future version of Advanced Installer. We'll notify you when this will be out. Until then, as a workaround you can simply copy the "dialog-image.jpg" file from the Advanced Installer installation folder (i.e. "C:\Program Files (x86)\Caphyon\Advanced Installer 11.4.1\themes\air\resources\variations\flat\dialog-image.jpg") in the following location too:

Code: Select all

C:\Program Files (x86)\Caphyon\Advanced Installer 11.4.1\themes\air\resources\variations\white\dialog-image.jpg
This was fixed in version 11.5 of Advanced Installer released on September 25th, 2014.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Re: Need Some Help Tweaking Tomcat Port Configuration

Dan wrote:This was fixed in version 11.5 of Advanced Installer released on September 25th, 2014.

Best regards,
Dan
Brilliant, thanks for the update. :)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Need Some Help Tweaking Tomcat Port Configuration

You're welcome,

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Re: Need Some Help Tweaking Tomcat Port Configuration

I'm having a strange issue with this configuration after updating to the latest AI (11.8, build 62156). To summarise the end result (and save you from re-reading the entire thread), I'll outline my basic configuration below.

List of Custom Actions, names should be pretty self-explanatory:
  • GetFreeTCPPort_AJP
  • GetFreeTCPPort_HTTP
  • GetFreeTCPPort_SHUTDOWN
  • UpdateMsiEditControls
My custom dialog (called "TomcatDlg") contains a PushButton with the following list of Published Events:
  • Set Installer Property: [AI_SEARCH_TCP_PORT] = [TC_HTTP_PORT]
  • Execute Custom Action: GetFreeTCPPort_HTTP
  • Set Installer Property: [TC_HTTP_PORT] = [AI_SEARCH_TCP_PORT]
  • Set Installer Property: [AI_SEARCH_TCP_PORT] = [TC_AJP_PORT]
  • Execute Custom Action: GetFreeTCPPort_AJP
  • Set Installer Property: [TC_AJP_PORT] = [AI_SEARCH_TCP_PORT]
  • Set Installer Property: [AI_SEARCH_TCP_PORT] = [TC_SHUTDOWN_PORT]
  • Execute Custom Action: GetFreeTCPPort_SHUTDOWN
  • Set Installer Property: [TC_SHUTDOWN_PORT] = [AI_SEARCH_TCP_PORT]
  • Execute Custom Action: UpdateMsiEditControls
I have all events except the "UpdateMsiEditControls" duplicated on the "Next" button from WelcomeDlg, which means my custom page already contains the currently free ports when it is first loaded.. However, if I deliberately change the ports to values I know are in use and hit my "Check Ports" button, the values in the input fields do not update as you would expect.

This is where it gets really interesting, because this got me to try a bunch of different things. Each example below starts off by launching a fresh installer instance and deliberately setting each port to a value known to be in use.
  • From the ports screen, click the "Check Ports" button once (no change), click it a second time and then they update.
  • From the ports screen, click "Back" to FolderDlg (not WelcomeDlg) and then "Next", the ports I set are still there.
  • From the ports screen, click "Check Ports" once (no change), click "Back" and then "Next", the ports have updated to valid values.
If I modify my "Check Ports" Published Events list to call it's own instance of UpdateMsiEditControls after each set of port scan/update commands, then:
  • From the ports screen, click "Check Ports" once, the first two values update and the third does not. Click it a second time and the third value updates.
  • From the ports screen, click "Check Ports" once (first two change, third does not), click "Back" and then "Next", the third port value then updates.
To make this even more interesting, I decided duplicate the final port update events in an effort to run the "search, update, assign, refresh" steps a fourth time, hoping this final run would cause the first three valid and visible ports to update, where the last one (that doesn't update) wouldn't make any difference to the end user. But with that, the second and third values updated while the first one required two clicks to refresh.

I am able to reliably reproduce each step listed above with the same results, thought I cannot tell which particular step is causing an issue. Any suggestions here? If you need any additional details or an example project, please let me know. I do believe this functionality worked fine in previous versions, but I've only had reason as of yesterday to update this installer package, so I'm not sure exactly when this broke.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need Some Help Tweaking Tomcat Port Configuration

Hello Andre,

If you could send us an example project which replicates the behavior this would be great. Otherwise, please send us your .aip (project file) to support at advancedinstaller dot com so we can test and investigate its settings.

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

Return to “Building Installers”