Maintenance Type Dialog not showing - dialog

I am developing an MSI with Custom UI dialogs. It has two features. When running the MSI installer first time, I am selecting one of the features and installing it. I want to run the installer again to install the second feature. I know that in the normal case, it would show the Maintenance Dialog with Change / Repair / Remove buttons from which I can select the Change option and install the other feature. But, since I am using Custom Dialogs including the Welcome Dialog, when I run it the second time, it directly goes from the Welcome Dialog to Progress Dialog to Finish dialog without even waiting / prompting for clicks. I do have a condition like below to navigate to MaintenanceTypeDlg from CustWelcomeDlg if the MSI is already installed once, but still no luck (Custom Welcome Dialog will have to navigate to the Custom License Agreement dialog if not already installed and will have to navigate to Maintenance Type Dialog if it is installed (even if one feature). Can anyone please help me? Note: Maintenance Type Dialog is out of the box, though I would like to customize that also later, since I want to customize the click event of Change button
<Publish Dialog="CustWelcomeDlg" Control="Next" Event="NewDialog" Value="CustLicenseAgmtDlg" Order="1">NOT Installed AND NOT PATCH</Publish>
<Publish Dialog="CustWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish>

Me too have created custom setup using wix. For customized dialog and their sequence I referred to the WixUI_Advanced.wxs. The source code of the same is available on github. It may help you too.
Click here to go to source code of WixUI_Advanced.wxs

Related

Popup window inside a task pane add-in

I have a task pane add-in in Office.
I have an item in the task pane, and a delete button. Now, when users click on the delete button, I want to pop up a small window to ask if users are sure about the deletion. If yes, we continue; if no, we go back to the current page.
It is like the Window confirm() method for a web page.
Does anyone know how to pop up this small window in the task pane add-in?
Additionally, if I want users to choose an option in this popup window (eg, choosing a colour between blue or red) before continuing (let's forget yes or no), how could we realise this? More generally, is it possible to create a custom confirm box?
As you design and build web apps for Office 365 or add-ins for Office and SharePoint, you can take advantage of the Office UI toolkit to make your experience look and feel like Office. The Office UI toolkit has key plug and play components that will make it easy to create web experiences that connect to and integrate with Office.
One of the controls offered by Office Fabric JS package is Dialog which has a lot of customization. I believe you'll find one suitable for your task.
Yet another option is to use any UI package which has variety of UI controls, for example jQuery mobile. And finally you may just write your own control.

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.

Office add-in ribbon button

I'm trying out the new style JavaScript based office add-ins and can't see how I can add the add-in launcher button to the ribbon.
I know that Command add-ins which can add tabs etc are not released yet, I'm just talking about a button that will launch my add-in.
It's a TaskPaneApp.
It seems to be possible because (in my version of office 16 at least) I can see that under the Insert tab, Wikipedia add-in has it own button in the Add-In group.
Currently I've just added a Shared Drive as a trusted location and am launching the app from there. As this is an internal app, it's likely to stay there.
Thanks
You just need to add some elements to your manifest file:
https://msdn.microsoft.com/EN-US/library/office/mt621545.aspx
Make sure you are using the latest version of Word, Excel or PowerPoint; it must be 16 or higher.
Also, make sure to use HTTPS requests.
The XML manifest is super sensitive.
Look for closing /> for all the tags, because you might be missing them somewhere.
You could also use this NPM module which is supported by Microsoft to validate your XML file.

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.

Open custom user control in tool window using VS Package

I'm trying to create simple custom command (added in TOOLS menu option) to open the tool bar with custom control in VS 2013 using VS Package project.
I'm following https://msdn.microsoft.com/en-us/library/bb165987.aspx this guide but not sure why it's not working.
When I click on it, it opens tool window but without content under it. I want to show the MyControl.cs or custom control content under it.
I've tried a lot to find it out on Google but no relevent article found for same.
I've notice when I created new VS Package, it created "MyControl.xaml" file which loading it's data properly. I deleted that file and created new user control "MyControl.cs" which is not loading data.
Not sure if it requires VSIX project or VS Package. Is there any other way to do this?
Nothing in vsix development is simple at first. Try using this tutorial. It's from a series you can find here.
For you to show custom tool window content you have to extend the ToolWindowPane class and override the Window property returning your content as a IWin32Window. The tutorial fully explains it, and very well I might add, and the series is excellent even though it targets vs2010.

Resources