My project is doing quite a bit of validation on my "user settings" dialog
I seem to have run out of space on the Condition line of my NewDialog, so instead I split it up and tried to use a new property (APERTA_WBTWOVERRIDE) to test the conditions
the validation im doing is to check whether the either of two text boxes contain a different value to that returned by a combo box selection, if they do i'm launching a messagebox which asks if they want to proceed, and if they click yes then the next dialog should be shown
Next Published Events:
- DoAction; MessageBox; Condition: (APERTA_TWEAKINGSERVER<>IISSELECTEDWEBROOT) OR (APERTA_WEBBACKEND<>IISSELECTEDWEBROOT)
[APERTA_WBTWOVERRIDE] ; Arguement=0
[APERTA_WBTWOVERRIDE] ; Arguement=1 ; Condition: ((APERTA_WEBBACKEND=IISSELECTEDWEBROOT) AND (APERTA_TWEAKINGSERVER=IISSELECTEDWEBROOT))OR (((APERTA_WEBBACKEND<>IISSELECTEDWEBROOT) OR (APERTA_TWEAKINGSERVER<>IISSELECTEDWEBROOT))AND APERTAMSGOUTPUT=IDYES)
NewDialog; FolderDlg ; Condition: (AI_USER_EXISTS="Yes") AND (APERTA_PASSWORDVALID=1) AND APERTA_WBTWOVERRIDE=1
install log:
- MSI (c) (7C!1C) [11:51:59:698]: PROPERTY CHANGE: Modifying IISSELECTEDWEBROOT property. Its current value is '127.0.0.1'. Its new value: '127.0.0.1:85'.
Action ended 11:51:59: GetWebsiteRootFromSelected. Return value 0.
MSI (c) (7C:1C) [11:51:59:698]: Doing action: NewDialog
Action 11:51:59: NewDialog.
Action start 11:51:59: NewDialog.
MSI (c) (7C:C4) [11:51:59:700]: PROPERTY CHANGE: Modifying CustomActionData property. Its current value is 'Password incorrect, or cannot be verified. Please check your settings. | User Error | MB_OK , MB_SETFOREGROUND , MB_ICONWARNING | | 11388'. Its new value: 'Tweaking Web Server or Web Backend IS NOT the same as the selected website. This should normally be the same as the selected Website (127.0.0.1).Are you sure you want to continue? | IIS Warning Error | MB_YESNO , MB_SETFOREGROUND , MB_ICONWARNING | APERTAMSGOUTPUT | 11388'.
Action ended 11:51:59: NewDialog. Return value 1.
MSI (c) (7C:1C) [11:51:59:700]: Doing action: MessageBox
Action 11:51:59: MessageBox.
Action start 11:51:59: MessageBox.
MSI (c) (7C:6C) [11:51:59:704]: Invoking remote custom action. DLL: C:\Users\Aperta\AppData\Local\Temp\MSIE3B5.tmp, Entrypoint: MsgBox
Action ended 11:52:03: MessageBox. Return value 1.
MSI (c) (7C:1C) [11:52:03:844]: Doing action: NewDialog
Action 11:52:03: NewDialog.
Action start 11:52:03: NewDialog.
FOLLOW US
Get the latest news in Application Packaging