Want to know The Truth About CPM?
Showing posts with label Excel. Show all posts
Showing posts with label Excel. Show all posts

31 May 2017

Head in the Essbase Cloud No. 4 -- Fixing Cube Designer's download

Procrastination really isn’t that bad sucks

For those of you who don’t follow me on Twitter (surely all of the sensible ones but here you are reading this so who knows), I just made the deadline for Kscope17 presentation submissions.  Is it possible that I may have waited till the last minute?  Possibly.  I will note that Tim German, my copresenter, had his slides to me in plenty of time so I suppose I have to own the almost-deadly tardiness.

In an effort to blame an inanimate object over my lateness, this post will illustrate something about Essbase Cloud that almost drove me to distraction over the weekend – updating Cube Desinger.

No, I’m not going to show you the beta I’m NDA’d to death with

My issue is that I’ve been blogging with the GA release of Oracle Analytics Cloud (OAC) but need to show some interesting new stuff in what-will-be-GA-but-is-now-beta.  Whew.  This not-quite-yet-released version has new functionality that I want to demo and that means I needed the latest Cube Designer.  What you’re going to see below will not show anything Secret Squirrel-like other than a release number which, given that it is precisely one number up from the current release ought to not have Oracle breathing down my pencil neck.

Trying to make it work

Those unfortunates who know me know that I use VMWorkstation to virtualize server and client instances to keep software versions separate:  client X uses 11.1.2.3.500 so that goes to Win 7 VM 1, client Y uses 11.1.2.4 and I want to use Office 2016 so that goes to Win 10 VM1, etc.  All well and good, but the VM I use to do Essbase Cloud (yes, really, I do this) had the GA Cube Designer and I couldn’t get that upgrade to work.  Yes, I could have spun up another VM but I am lazy so thought I’d simply upgrade it.  That was possibly not a good idea.

NB – I’ve redacted server names and IP addresses.  Take it as read (This is a Britishism?  Lord love a duck I had no idea, which (the bit about the duck) also turns out to be an English expression.  It think I spend too much time around Tim German or Pete Nitschke or Mark Rittman or…who knows, maybe I’m just an odd duck.  Heh, probably so.)  when I say that the GA URL and the beta URL are not same.

Upgrade?  Or not.

For those of you who use Planning’s administrator extension, this Smart View screen ought to be a familiar looking dialog box.  In this screenshot I’ve clicked on the “Check for Updates, New Installs, and Uninstalls” link and got the Check for Updates query box.  Of course I click on OK.

Alas and alack, here’s the response:

Fwiw, I was actually connected to the OAC instance.

Then I saw this happy (or not) message:

Okeydoke, I’ll simply log in.  How could that not work?

After providing my credentials Smart View popped this up:

The maddening thing was that Cube Designer then showed up as a Smart View extension.  Success?  No, because while the new version (105) of Cube Designer showed up, it wasn’t actually installable.  Drat, foiled again.

I tried changing the OAC server, overriding the default download URL, turning three times on my head, etc., etc., etc. all to no avail.  I had once again demonstrated why, even with the cloud, my reputation for infrastructure incompetence is well deserved.

Great googly moogly

At this point (and you are looking at about an hour of trying different approaches leavened with plenty of Excel/Smart View going into its Never-never land of a blanked out screen) I just gave up and reached out to Oracle development.  Perhaps it was only a heartfelt attempt to make me go away on Memorial Day, they were very helpful in trying to resolve this.  

The first suggestion was to make sure I was connected to the new OAC instance.  ‘Natch, I did that from the start.

The next suggestion was to get rid of all of those horrible, redundant, and wrong (mostly) connections in the Smart View options.  I am somewhat embarrassed to admit I’ve never done this.  Sigh, another example of my well-deserved reputation for laziness.

Happily, there are those who are not as lethargic as I and went out and figured out how to do this:  Gary Adashek’s blog showes how to get rid of the properties.xml file that defines those entries.  Huzzah! I thought but no, it still didn’t work.

So deleting one list of connections didn’t help but it was suggested by Oracle.  Was there something else I might delete?  I wasn’t quite ready for the metaphorical analogue of this but I was pretty close.

Ah, but beyond the brute force approach that Gary outlined, it turns out that there’s another way to delete connection URLs over in Smart View connection panel.  

As Bertie Wooster would say, What ho!


That looks like the definition of the extensions although this time it’s on the OAC server.  What happens if I delete this?  I did just that and restarted Excel for good measure.  And then…

Would you believe it, it worked!


Btw, I have no idea, how Oracle Journals made its way onto my VM.  Perhaps I will be an accountant in future?  For the sake of every company out there let’s hope not as I get calls of exasperation from my accountant round tax time and what I’ll do to their close process doesn’t bear thinking about.

And there it is


Tim German and I are presenting on this release so I think it’s safe to say that many of you will go through this pain unless Oracle fix it in time.

Be seeing you.

10 February 2017

Stupid Programming Tips No. 31 -- Installing just Excel 2016 and nothing else

Excel, just Excel, and nothing else

Although I’ve known Oracle EPM (and Hyperion and before that Arbor all the way back to Comshare) for far longer than I care to think about, my installation skills have not improved with time or practice.  I am not a fan of installing Hyperion client software on my PC.  Actually, I’m not a fan of installing any kind of infrastructure as many if not all of you know.  I am especially not a fan of installing Hyperion client software aka Smart View or MaxL or epmautomate or anything else that has the words “Oracle EPM” as a prefix.  Why is that, Cameron?  

No sir, I don’t like it

I don’t like installing (I really don’t like installing server software, cf. my appreciation of the Cloud) software of any kind unless I absolutely must because of crud.  I have many other things to do with my life such as work, write this blog and other gloriously unpaid community activities, and try to have some form of a life.  Given that I often only get two out of the three at the same time, taking on another “hobby” that consists of diagnosing why my super-duper laptop no long works as it did before is not high on my list of things to do.

Windows crud isn’t the only downside to installing a given EPM client suite and then uninstalling it when the next upgrade comes along and then installing that next release and then it doesn’t work and then reverting back to the original release and then maybe in despair uninstalling that again and then installing the latest release ad infinitum.  As the preceding run on sentence suggests, moving across releases can be tricky.  Painful.  Frustrating.  Gawdawful.  You get the idea.

Remember, your PC (laptop nowadays but desktop too) is where you earn your crust.  If it’s hors de combat because you buggered up an install you will spend a painful and inordinate amount of time trying to fix it.

How do you test new releases of Windows and Office and Oracle EPM?  Your IT department (or, if you’re a consultant at a boutique consulting company then most likely you, Gentle Consultant Reader) in theory does this testing but they do it on their own time and don’t really understand all of the nuances involved.  Do they give you multiple laptops so you can do the testing without interruption to your other work?  No?  If they do dispense that kind of largesse, they undoubtedly do so in other ways and if so would you please contact me ‘cos I want to work at a company with those kinds of deep pockets.  Alas for all of us, that probably isn’t the case and you’re back at the infinite loop of install/test/uninstall/install/test/uninstall.  Ugh.

I have a way around all of that: virtualization.

I’m a fan of virtualization.  No, not virtual reality (FFS, if you have to retreat to that, perhaps you ought to work on improving the real world?), but computer virtualization.  Big deal you say (you do say that, don’t you?), virtualization of servers is old hat.  Even Oracle have reluctantly relented in the face of customers virtualizing their entire EPM environment.  

No, what I’m talking about is virtualizing your client.  

What does this buy you?

Merely an environment that you completely control.  Want to run Windows 7 (my personal preference on many levels – I think it is as perfect of an OS as Windows can be) on your Win 10 laptop?  Or the other way round?  Or do all of this on your Mac?  Or both Windows 7 and 10?  11.1.2.3.500 and 11.1.2.4 and PBCS?  32-bit vs. 64 bit Office?  Office 2010 or 2013 or 2016?  And separate multiple client VPN environments (this last one is aimed at consultants)?  All at the same time?  All you need is a virtualization tool, legitimate licenses, and enough hardware to run it on.

VMWorkstation

I am a huge, huge, huge fan of VMWorkstation.  It’s fast, simple to configure (and we all know that Yr. Most Hmbl. & Obt. Svt. needs all the help he can get in that regard), and relatively inexpensive @ $250.  Setting up a VM is a doddle and cloning and copying the VMs are simple tasks.  There’s also the option of giving away VMs (I am putting aside licensing issues but doing things the right way isn’t impossible) and running them on VM Player or even converting a VMWorkstation image to VMWare Fusion.

Virtualbox

If you are a true blue Oracle user, there is also the free as in beer VirtualBox.  Free is good.  I started with VMWorkstation back in the days of Hyperion Software and just haven’t been bothered to switch.  I have however used VirtualBox alongside VMWorkstation without issue.

My use case

I wanted to run Office 2016 on Windows 10.  I have avoided Win 10 as long as I possibly could but as I’m seeing it at more and more of my clients and also because I want to – sort of – keep up to date with my fellow geeks so I have to at least take a look at it.  A VM is a marvelous place to do this – I can walk the VM back if I blow things up – I will – and to experiment with setting up my Office 2016 install.  When I did this the first time round I think I had to redo it five times.  Ugh .  

I’ve run Office 2016 on a Windows 7 VM but I was annoyed that I ended up with the rest of Office on that VM.  I want to keep the actual VM size as small as possible (I have two SSDs on my laptop but even at 1 ½ terabytes space is not unlimited and server OS VMs can take a lot of room).  Also, I am not going to run OneNote, don’t need a copy of Outlook on a VM (and besides, I use Thunderbird on my real box), and in general just want what I want as I’ve been able to do with older releases of Office.  

Running Windows 10

Keeping in mind my lack of interest in infrastructure even at a client OS level, I needed to find a version of Windows 10 that does not update itself seemingly every other week.  Seriously, I don’t have time for that and all of the features that Windows 10 has like Cortana, Edge, the Store, etc. don’t do anything for me.  What to do?  

NB – I understand that there are advantages to doing things Microsoft’s way but it simply isn’t for me which, if you think about it, is sort of the unifying theme of this blog post.  I am a bit bolshie.

Windows LTSB to the rescue

Windows Long Term Servicing Branch is akin to the measured upgrades that the Windows world saw before Windows 10.  Longing for the good old days?  Here are two good explanations of what it means.  Windows LTSB is part of Windows Enterprise so you’re not going to be able to buy this at your local office supply store.  As I noted before, it’s not that difficult to legitimately get a license for this.  I am not encouraging you to go to some dodgy website and download a key.  Beyond the moral and legal ramifications of that, consider that you have likely just infected your computer with a who-knows-what virus, trojan, etc., etc., etc.  You Have Been Warned.

NB – You do not have to use Windows LTSB to do what I’m about to show.  That’s what I used and hence I’ve explained the not terribly common release to remove as much confusion as possible ‘cos when I explain things I add confusion.  You’re welcome.

Running Office 2016

Speaking of confusion, as with Windows 10, Office 2016 comes in a bewildering variety of versions.  If you include Macintosh there are nine different releases of the product although there is overlap in their title organization.

Home

Business

Student


I daresay you will not be surprised when I tell you that I don’t have any of those releases but instead Office Professional Plus Volume License.  Fear not, Gentle Reader, as I believe what I am going to show you now applies to everything but the Macintosh (and you’re alas not running Smart View there) and Office Online.  

Click-To-Run

Unlike older versions of Office (per my comments above about changing as little as possible on my “real” laptop I am quite happily running Office 2010), Office 2016 does not have an MSI installer and instead has an all-or-nothing Click-To-Run (C2R) installer.  The problem with C2R is that it does not allow a single application install out of the entire Office suite.  That’s right, it’s all or nothing.

Having said that, there are advantages to C2R, namely monthly updates to not just patches but core functionality as well as a way to install Office from the web or a network location.  To me this sounds like a enthusiast’s dream and an Oracle EPM geek’s worst nightmare.

I don’t have this version (again because of my recalcitrant and stubborn personality) but the technique I am to illustrate is actually based on Office365.

All or nothing at all

This blog has the word “hacker” in it.  I think for IT staff that install Office as a matter of course the below is old hat.  For those of us who aren’t in that category, this is a hack.

Windows 10 in its virgin state

No, this probably doesn’t look like your Windows 10 install.  But it’s awfully close.

Btw, in addition to Windows 10 LTSB, I am also using ClassicShell.  I cannot recommend it highly enough and use it on both this install and on Window Server 2012.  I’m not sure what genius at Microsoft thought a tablet interface was a good fit for a server OS but “genius” is not the word that comes to mind.

That rant completed, here’s my very pre-Windows 7 style Start Menu.  Note that there is no install of Office.

Take a snapshot

I had a bad feeling about this working the first time so before I went WOT on the install I thought I would take a VMWorkstation snapshot.  Good thing I did.

Run the install

I’ve taken my install ISO and extracted it to the local drive.  This will become important in a bit but I could have installed it from a DVD or mounted ISO image.

The Yes of Doom

Maybe all is not lost?

Surely an option will pop up allowing me to pick just Excel.

Indeed all is lost

Bugger.

Back to the beginning

Bugger as noted.  Let’s go back to the pre-install state.  See, I told you I liked VMWorkstation.

As you like it

Although, “I want, doesn’t get”, it is possible to install just what is needed in Office with a modest amount of pain.

In a nutshell, you can use an XML configuration file along with a special install setup.exe to exclude unwanted components.  It works but as noted is painful to suss out, a sentiment you may share as you’re now on page nine of this guide.

Office 2016 Deployment Tool

NB – This works for Office 2013 as well but requires a different version.

Download the tool as per the above section link and then launch officedeploymenttool_7614-3602.exe.  On doing so you’ll see setup.exe (this is the replacement for the default Office 2016 setup.exe as well as the file configuration.xml.


Default configuration.xml

Per the file comments, the above configuration file is for downloading and installing Office 365 Pro Plus (retail) as well as Visio Pro (retail).  

However, what I want to do is:  exclude everything but Excel and do it for it for the non-365 version of Office.

Although the XML isn’t hard to read, it is difficult to know what tags to use.  Microsoft very nicely provide a tool to create that file.  It’s almost perfect but then what in this life is?

Office 365 ProPlus Configuration XML Editor

Go to the web page and pick your options.

Exclude the tools you don’t want.

Click on Save to write the XML in the righthand pane and then export to disk.

Ta da, here’s the configuration file, shipshape and Bristol fashion.  Almost.

Modifying configuration.xml

Unfortunately the tool doesn’t support the version of Office that I have; it likely does for your version.  Just in case, here’s the list of supported Product IDs:
  • ProPlusRetail
  • ProfessionalRetail
  • HomeStudentRetail
  • HomeBusinessRetail
  • O365ProPlusRetail
  • O365HomePremRetail
  • O365BusinessRetail
  • O365SmallBusPremRetail
  • VisioProRetail
  • ProjectProRetail
  • SPDRetail

In my case I ended up using ProPlusRetail on my first go round.  That was a guess on my part although I suppose a lucky one as it was a one in nine chance on getting it right.

In any case, here’s what my configuration.xml file looks like once the Product ID is manually modified:

Installing just Excel

The hard work is done.  Now it’s just a question of running the configuration.

As I noted above, I extracted the install media to a local folder – this could easily be a network share.  The key thing to remember is that you’ll need to replace the default setup.exe with the one that will allow customization.

I renamed setup.exe to setup.exe_old:

Copied across the new setup.exe as well as configuration.xml files:

And then ran setup.exe in a “DOS” window using the syntax within the install folder path of Office2016:

setup.exe /configure configuration.xml

NB – This could have been run from different locations and fully pathed out but this is a one-and-done install.  

After a bit of whirring and clacking:

And then:
There is no acknowledgement that Excel is being installed on its own.

And then:

And then:
Huzzah!

And when I launch Excel

Here it is.  And with Smart View too!  Just kidding; I installed that afterwards:

We’re done, finally done

There we are, after just a short 20 pages in Word.  If you think it took a long time to read to the bottom consider that I spent over a day figuring this out and then another half day writing it up.  Some would just embrace the suck and install the whole shooting match.  Stubbornness manifested as tenacity can sometimes be a positive thing.  I’ll never get the time back but now I have exactly what I want.  

Sometimes it’s worth it.

More than one way to deploy Office 2016

I encourage you to read the links I’ve provided and search on your own.  There are all kinds of cool(ish) things you can do with the tool.  It’s probably outside the purview of EPM geeks but interesting(ish) to read about.  

Do I now have a VM that I can clone (VMWorkstation does an excellent job of that:  creating both fully-independent images as well as linked ones that take less room – I created the VM for this post as a linked one that I will now blow away) for each and every client keeping work, files, versions, etc. separate?  Yup.

Don’t be put off by the length of what I wrote.  Once I figured this out the whole process from beginning to end took about 45 minutes.  

Be seeing you.