RealDwg Installer - why so Cryptic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Why is the installation process so cryptic? Is this some kind of test because I am failing miseably (I heard that, up the back). Why is is so impossible for Autodesk to publish a tutorial - a USEFUL TUTORIAL AND A SAMPLE THAT ACTUALLY WORKS?
The video at http://adndevblog.typepad.com/autocad/2015/04/introduction-to-realdwg-net-programming.html at 24:30 clearly shows the machine he tested it on was not a clean machine. I am calling BS on that one. I'm also calling BS on the missing half-hour at that point in the video too, the most important and difficult stuff for the install is missing at that point. The included sample project dosen't even build, he doesn't show all the manual steps that you need to guess to get it to build in the video either, you just get "here's my batch file, here's my wix file .. oh <Magic />, here's my installer". You missed a bit, FYI. And this is the only documentation there is for RealDwg installation, the SDK you pay for has nothing.
Well, there is thie ...https://forums.autodesk.com/t5/net/merge-modules-for-installer-for-realdwg-2013-application/td-p/378... but it
Before you go harping on, about readdbx.chm try getting someone who has never seen Wix to grok it. Also, this SDK is for .NET developers who don't generally need to package C++ runtimes and all that, so that assumption is broken.
Since when is C:\Program Files\... a sensible \bin\ folder? What the hell kind of guidance is that?
There should be a sample installer in the SDK that, btw, costs US$ 5000.
While we're at it - http://adndevblog.typepad.com/autocad/2013/04/installed-version-of-realdwg-application-crashes.html WHAT? Google policy & msm ... no, wait, here https://www.google.com.au/search?q=Microsoft_VC140+msm+policy and tell me what the hell?
Building a RealDwg installer is definitely my worst experience developing on the Autodesk platform and it's fair to say it has had some competition over the years. This shuold be a simple exercise - grab the sample, add your mods and build it - rather than leave every single one of us to discover it all from zero. What a colossal pointless waste of...everything.
So - please, for the love of $Deity, put down the shiny 3D Interent for a few moments, remember who your paying customers are, find somebody who actually understands Wix, and RealDWg (and batch files - they have variables, you know) and actually buildsan installer that works on a new machine with no Autodesk products on it AND TEST IT ON A CLEAN MACHINE THAT IS ACTUALLY CLEAN.
And please explain what the hell...
In addition, Autodesk CMSMs require the ODBXHOSTAPPGLOROOT and ODBXHOSTAPPREGROOT properties to be set in the MSI [my notes - where?, when?,How?] . This property specifies the registry root for some modules. The following template shows the format of the ODBXHOSTAPPGLOROOT and ODBXHOSTAPPREGROOT value: Software\\<CompanyName>\\<MyProduct>\\<versionX.Y>. The ODBXHOSTAPPGLOROOT property is created automatically when you merge the required objdbx.msm file. You must replace the portions wrapped in angle brackets [WHERE?] with your application's name and version number.
...means to those who don't actually already know what it means because they have seen the source code of AutoCAD. How is one even to do that in 2016, with tools from this century. Now that Orca is obsolete, what do I do? (answer - this: http://www.instedit.com/). See https://support.microsoft.com/en-us/kb/255905 Surely everybody has to do this so there has to be a common practice. It sure as hell isn't in the tutorial at http://adndevblog.typepad.com/autocad/2015/04/introduction-to-realdwg-net-programming.html
So why am I manually editing these two properties in an MSI when all that information is already in the Wix files? Why is it so hard to tell me that? Why can't I script that if it is unfixable?
Also, in HostApplicationServices{} am I meant to implement UserRegistryProductRootKey, MachineRegistryProductRootKey (DupmDwg.vb doesn't) and do I include the "Software\..." prefix because the examples seem to vary and the default is all in CAPS but he samples aren't and WTF.
Now I need to go and apologise to all my neighbours for my profanity.
working on all sorts of things including www.tvCAD.tv & www.CADreplace.com