Database name in SQLLogin Dialog not getting updated in installshield basic MSI installer - installshield

I am creating a basic MSI project. In the SQLLogin dialog, if I remove the database catalog name from the text box and then browse for an existing database, the value does not appear in the text box on clicking OK but if I click back and next then the value appears in the field (meaning it is getting updated but not showing I guess). It works fine otherwise if I do not update it after removing/editing the text box. Is this an open issue? Or am I missing some setting?

In a Basic MSI project, the internal Windows Installer user interface support will generally not refresh controls backed by a property until the dialog is closed and reopened. Edit controls will also not refresh if any value was entered by a user into the control. These are limitations of the MSI user interface functionality.

Related

Blue prism - Not able to Spy SAP Screen element

Trying to spy SAP system through BluePrism for SAP Automation.
When I click Identify button from BluePrism application modeller and move my mouse over to the T-Code textbox , then the text Box is highlighted using a red color box which says the TCode element is recognize by BluePrism tool in SAP test system. however the same is NOT identified for SAP Production system.
We checked both SAP system has same settings maintained to enable SAP GUI Scripting.
Appreciate help!
I don't know if it solves your specific problem, nevertheless:
Pressing alt multiple times will change the spy method, and you'll be able to find what you're looking for (even a method specifically for SAP).
please check if the SAP Id of the item is the same in both systems. You can do it for example by identifying item in both systems. Please return with the answer what's the difference in ID between the systems.
If you are starting out with SAP Automation in your organisation, you will probably not have GUI scripting enabled in the Production system, but it may be in the DEV system.
If you can access SAP then run RZ11 and enter sapgui/user_scripting then it will show a list of values, and the current value should be true. Compare DEV and PRD. You will probably need the SAP Basis admin to change this.
Read this blog for more details
Andy
For the best SAP automation performance with Blue Prism you need to enable both Client and Server scripting
i. Enabling Client-Side Scripting
Start the SAP Logon and log in to the SAP server.
Click the 'Customize Local Layout' toolbar button (ALT+F12).
Click Options and in the GUI Options screen select the 'Accessibility and Scripting' node
In the ‘Accessibility’ node ensure that the ‘Use Accessibility mode’ option is enabled.
In the 'Scripting' node ensure that the ‘Enable scripting’ option is the only option set. Notifications must be switched off to prevent popups from blocking the spy mode.
NOTE: If the options 'Notify when a script attaches to SAP GUI' check box and the 'Notify when a script opens a connection' are left checked then when you spy an element in the SAP interface you will see the message “A script is trying to attach to the GUI” every time you attempt to click on it. If you see the message “Scripting support is disabled by the user” then the ‘Enable scripting’ option has not been checked.
Save the settings and restart the SAP GUI. The clientside settings have now been set.
ii. Enabling Server-Side Scripting
Start the SAP Logon and log in to the SAP server.
Run the ‘RZ11’ transaction (type ‘RZ11 ‘and click the green tick button)
Type ‘sapgui/user_scripting’ in the Maintain Profile Parameters window.
Click the ‘Display’ button
Click ‘Change Value’ in the Display Profile Parameter Attributes window.
Type ‘TRUE’ in the ‘New value’ field.
Save the settings and log out from SAP Logon.
Exit from the SAP Logon program (click the red cross button in the toolbar, or click the ‘X’ window button to close the window and the application). You may be prompted to save any unsaved changes, if you haven’t done so already.

external content type but connect to outlook is disabled

We are unabel to enable the "Connect to outlook" ribbon button for our external list.
The external list is based on a external content type which uses a simple Web service.
The browser based UI works just great as expected but we are unable to get the "Connect to Outlook" ribbon button to becoem enabled.
We have installed all the necessary client side installs, and the connect to outlook button works fine for regualr lists.
We have mapped it to a outlook type "Contact" within SharePoint designer and mapped the single requried field of "LastName".
Unfortunately it still will not enable, has anyone had this problem or no a fix please?
If you are using a newer version of IE, it most likely won't display. Go to the browsers "gear" in the top right hand corner, click and select "Compatibility View Settings" - click add and then close and refresh, that should do the trick.

Add sucsess message after uninstalling process in advanced installer

I created a setup file for my project with advanced installer but when i try to uninstall the package from control panel i don't see any dialog showing up telling me that uninstallation is a success, it's just run, uninstalling the application and then close. how can i add a dialog to show after uninstallation process?
I'm using advanced installer 12.3.1 and I'm using a custom theme if that is relevant to the question.
It's because your MSI uninstallation through Control Panel goes in Basic UI mode.
There are several ways to do what you want:
If you need simple end success or failure dialog:
you need to create a custom action which will change INSTALLUILEVEL to INSTALLUILEVEL_BASIC and INSTALLUILEVEL_ENDDIALOG. Please refer these links to find more information about it: MSDN and MSDN
The second way is a trick to hide Uninstall button from Add\Remove Programs and left only Change button. Then you need hide Change and Modify buttons from Maintenance dialog window in AdvancedInstaller (InstallShield, Orca, InstEd, etc). In this case you will receive uninstallation in Full UI mode.

How to create a dialog box dynamically in MFC application?

I am working on a MFC SDI application. I want to get a dialog box called on the click of a menu button but I want to create that dialog box dynamically and not use the resource view. I am not able to figure out how to do that even after googling a lot.
Create an empty dialog resource or use a empty resource template in memory.
Create the dialog. Either using a pointer to the resource template in memory, or in the resource.
Call DoModal.
In OnInitDialog. Resize the dialog, Create all child windows, set the dialog title...
Back around Visual Studio 2008, there was some sample code called DLGTEMPL. I've used it to build a dynamic dialog just like you want. I'm using VS2013 and I could not seem to find the sample code on my local hard drive. However, Microsoft still makes this available here via a VS2005 samples page. Simply click on "Download Sample" at the top and it will install the sample onto your hard drive. The sample provides the basis for creating a dynamic dialog from an in memory resource.

Refresh installation form of InstallShield application File

I created a setup file using InstallShield application.
Now, in one of the Installation Form, I have a checkbox control. By default it is unchecked. But after performing some operation on that form, I wants to check that checkbox control.
I am able to change its property, but the form is not getting refreshed.
Please Help me.
Thanks.
This is a known limitation in Windows Installer internal UI. Either roll an external UI handler ( InstallScript MSI project type for example ) or rethink your UI story to conform to what MSI is capable of doing.

Resources