In the following http://www-01.ibm.com/support/docview.wss?uid=swg21158221
there is a mention of COMMAND TYPE as OLE Automation.
Can you please help me with an example of OLE Automation for ClearExplorer tool?
OLE automation is generally done with the CAL (ClearCase Automation Library), which provides a set of COM interfaces to ClearCase on the Windows 32-bit platforms.
These interfaces are intended both as an integration platform and also as an API that can be used to extend or customize ClearCase.
CAL can also be used to develop stand alone applications, write scripts, or embed macros in other applications that interact with ClearCase on some level.
I have used it in VB scripts in:
"Get ClearCase Snapshot Views via ClearCase Automation Library (CAL)?"
"Getting View Owner/Creator with Rational ClearCase Automation Library (CAL)"
"How do I get latest clearcase label programmatically from C#?"
Related
I can't get ClearTeam Explorer to register a new license server. It keeps referring to the old one.
The error I get back when I try to connect is that it can't connect to LICENSE_HOST_X.
I've changed the setting in 'Home Base's control panel to point to the new LICENSE_HOST_Y, which works for the clearlicense tool and clearcase doctor but not for the team explorer.
The license settings are contained in the Windows Registry at HKLM\Software\Wow6432Node\Atria\ClearCase\CurrentVersion\Licensehost for Atria licenses.
For FlexNet licenses, the PortAtHost value at HKLM\Software\Wow6432Node\Rational Software\Licensing\8.0\ServerList comes into play as well.
The odds are VERY good that you're dealing with Windows registry virtualization. If you open the legacy "control panel" on Windows 10, run the "ClearCase" control panel as Administrator (or open "cc.cpl" from an elevated command prompt) and check the server information there. If you see different values for EXPLICITLY elevated and non-explicltly elevated control panel starts, you have entries in the "user specific" virtual registry store. Please note that this is a WINDOWS function, and not a ClearCase one.
Disabling the albd service on the license server is a very bad idea unless that is the only function the albd is providing. Disabling it on the client will essentially kill any local views AND the ability to map views to drives when the "credential manager" service that depends on this service fails to start.
Check if any of elements mentioned in "How to change the hostname in the IBM Rational ClearCase environment" might have an influence in your case.
IBM Rational ClearCase supports two types of licenses, the Rational Common Licensing (FlexLM) and the Classic Atria licensing.
Update these files with the new host name:
Rational common licensing (FlexLM):
/var/adm/rational/clearcase/config/flexlm_host
Rational ClearCase Classic/Atria licensing:
/var/adm/rational/clearcase/config/license_host
So it can help to know if the new license server is of a different nature than the old one.
At the client level:
UNIX/Linux clients:
Update the new registry server's host name in the file /var/adm/rational/clearcase/config/rgy_svr.conf
Update the License Server using the instructions in the server configuration guidelines.
Windows clients:
Update the new registry and license server hostname information using the IBM Rational ClearCase control panel located under the Windows control panel.
If nothing work, I would, if my client is on Windows, search for the old license server name in the Windows Registry, and replace or even delete those entries.
On Windows, the OP V.Bogd confirms in the comments:
The problem went away after I disabled an "Atria Location Broker" service.
That was the service needed, as seen in this thread, for the old license manager:
No license available from ClearCase license manager;
Use clearlicense to display license usage
You can see more on albd_server.exe here.
On my domain server 2012r2I am trying to deploying office 2007 but not all of the office I need to install only excel and word
I found an .msi file within the dvd installation and found many .msi packages
called ExcelMUI.msiand WordMUI.msi at directory
...\English\Excel.en-us\ExcelMUI.msi
...\English\Excel.en-us\WordMUI.msi
can I use them to deploy only excel and word through domain server 2012r2?
are they valid as .msi packages installer ?
Best Guess: I wonder if those MUI-setups are Multilingual User Interface setups. I think you should get on a virtual machine and try to run the setup.exe instead (if there is one) and then go to "Custom" or equivalent to see if you get a feature selection dialog. Then you should select Word and Excel to install fully and you can disable most other features (don't disable the shared features, just the other apps would be my suggestion - Outlook, PowerPoint, etc...). It is possible that those MSI files you mention can be used directly. You could try to run them - but only on a virtual of course. Or on a computer which does not matter - test computer of some sort. Look for a custom option and a feature dialog there too. Sorry, all I can suggest without installation media access.
Sure?: With all that said, Office on a domain server? Do you mean domain controller? (hope not). Sounds like a very dangerous move if you ask me - with all the security holes Office contains. At least make sure to run Windows Update or Office Update or whatever mechanism you have to deploy security fixes. Can I be curious and ask why the server needs Office? Is it for automation only?
Viewer for MSI Files: You can open and inspect MSI files using the free tools Orca, SuperOrca or InstEd (links towards bottom). I have an old answer on superuser showing how MSI features can be seen inside the MSI file.
Suppose I have a dialog box for giving an instance name and I want to see what are the other instances available in the local machine or the server and what if the user has both SQL Server 2005 and SQL Server 2008 installed in his system and I want to choose the instance name to deploy the database into. How do I achieve this using a Setup project created using Visual Studio 2010?
Please guide me as I'm new to Setup project.
Thanks
The problems are that VS setups don't let you build your own customized dialogs to show at the start, and don't let you run code to populate them or validate the contents. That means you're not really using the setup project because you'll end up writing your own code to do all this. Although you might be tempted to run this code as custom action, it will run with the system account (in an Everyone install) and the dialogs won't work properly because you'll not be running in a Windowing STA context. So you could integrate all this into the setup if you used another tool (such as WiX) and designed your own dialog to show during the standard install dialogs. The general design pattern is that you collect the info and stoer it into properties that are used with cusom actions in the execute sequence to make the changes. This happens to enabled silent install, specifying the property values on the msiexec command line or group policy delivery.
With VS you'd be better off having the user run your code to configure all this after the install at first run of the app.
The goal is to wire up a target or command (e.g. arbitrary executable) to be run after a database project is successfully published from within Visual Studio 2012 user interface using the Publish menu option from the database project context menu (by right-clicking the database project in Solution Explorer and selecting Publish). We have an existing, custom data loader program that bulk loads data from XML files (dumped from master databases) and it would be very convenient to continue using this existing approach. We cannot use the post-deployment SQL file to load data because it will take far too long to load and is difficult to maintain (manual). The data we are loading is a large amount of configuration data that is required by the application and is not the transactional data of the application (which is even larger).
We are currently using Microsoft Visual Studio Ultimate 2012, 11.0.60610.01 Update 3 and SQL Server Data Tools 11.1.30618.1. The database project was created using the database project template in VS2012 (.sqlproj). We are publishing to both SQL Server 2008 R2 and SQL Server 2012. We do know about the SSDT MSBuild targets file that is included in the sqlproj file and its contents. It seems that none of the Deploy or Publish targets defined in this file are executed by VS2012 during a "Publish" command. The Build targets, however, are executed when the project is built from within VS2012.
Here's what we have tried so far with no luck (each item below was attempted one-at-a-time, in isolation):
Wired up the executable command to the PostPublishEvent (similar to the PostBuildEvent).
Wired up the executable command to the PostDeployEvent (similar to the PostBuildEvent).
Wired up a new, custom target that depends on the AfterPublish target that executes the command.
Wired up a new, custom target that depends on the AfterDeploy target that executes the command.
Override the AfterPublish target in the sqlproj file.
Override the AfterDeploy target in the sqlproj file.
Override the SqlPublish target in the sqlproj file.
If I use any of the above "Publish" methods and execute the Publish target using MSBuild, everything works as expected. If I use the "Publish" user interface command in VS2012, the custom command is never executed. If I wire up the custom command to the PostBuildEvent, it runs via MSBuild and VS2012.
It seems that VS2012 is using different means to publish database projects and is not wired into the SSDT MSBuild targets except for the Build target.
Is there a clean way to wire up an arbitrary command that is executed after the "Publish" command, invoked from the VS2012 user interface, completes, ideally, successfully?
I am also aware of this post, Publish data with SSDT?, but this is not an acceptable approach relative to the existing methods used before VS2012.
Thanks!
I've looked into this too.
From what I can tell, when you use Publish... from the VS 2012/2013 context menu, VS is instantiating a SSDT SqlPublishTask directly, rather then using the common system definitions, presumably so they can integrate it into the "Data Tools" window.
Only solution I can think of is to write an extension that provides a (context) menu item, which would allow you to invoke MSBuild with the target of your choice. The Extension SDK reference seems to have everything you need to get started, while the MSBuild API reference can be found on MSDN.
(A quick search revealed no such existing extension.)
Unfortunately, I don't have access to VS Pro, so can't DiM :(.
What is needed to have a build integration (Cruise Control) on a workstation where CCRC is installed?
The principle of a build scheduler is to trigger a build based on certain criteria: with an SCM, the criteria is typically the detection of new versions.
The local workstation cannot ake a simple 'lshistory' in the local view, because the local view isn't actually a view (it is a copy of the snapshot 'web' view which is created/maintained on the CCRC server).
The idea could be to use the CCRC Java API (as you do in your previous question), but in a script made to update the CCRC view and see if any new version is detected.