Paraffin 3.13 and an Ask for Help

Before I get into the quick new features for Paraffin 3.13 (download here), I need to ask for your help. Pretty much from the first day I released Paraffin, I’ve been consistently getting the following question:

I want to be able to uninstall obsolete components during minor upgrades.

For this I would like to have an additional option, which does not remove missing/deleted files from the .Paraffin file. Instead it should generate the code according to http://geekswithblogs.net/Vagmi.Mudumbai/archive/2006/06/11/81426.aspx.

<

p style=”margin-left:36pt”>Paraffin should set component to transitive and use a false condition. If a file does not exist it should use a 0-byte dummy file.

I think that’s a great feature, but being mostly a Windows Installer neophyte, I have no idea what that’s supposed to look like in actual WiX format. If one of you WiX ninjas can give me a functioning sample of an installer with a functioning patch using the above trick in WiX, I’ll get that feature worked into Paraffin.

While I think major upgrades are the way to go because they are easier to manage, I know there are some of you using Paraffin where patching is a requirement. Shoot that sample to john @ this company’s domain.

Paraffin 3.13 now supports a new command line option –regExExclude. Now you can exclude files and directories based on regular expressions to give you much more control. The new switch works for both creating files as well as when updating files to add new exclusions after you’ve already created your initial file. The –ext switch still excludes by file extension and –direXclude continues to exclude directories based on a value contained in the string. How the implementation work is that for both files and directories, I process the –ext and –direXclude switches before I process the –regExExclude. I thought that would be better for backwards compatibility.

In the Paraffin download, I updated the example installer to show using the new switch when building the WiX fragment for the output Debug directory. All you want included from the compiled output is the .EXE and .PDB files, but Visual Studio has a bunch of other files like Paraffin.VSHOST.EXE and with Code Analysis turned on, those *.CodeAnalysisLog.xml and *.lastcodeanalysissucceeded files. With the new –regExExclude switch, you can specify the following on the command line to avoid those files

-rex “..vshost.exe.” -rex “.codeanalysis.

If you’re not familiar with regular expressions, now you have a real reason to learn them. One final note is that for files the regular expression is tested against just the filename. For directories, your regular expression is tested against the complete drive and path. This new trick should make Paraffin easier to control for many of you.

The second thing I did for version 3.13 was remove something, the file creation node in the comment section. Many people wanted to be able to do automatic diffs on a .WXS and the updated .PARAFFIN file and the creation node messed those up. Removing the node means you can automate running Paraffin with the –update switch as part of your build and if your diff tool reports a difference, you can halt the build until the installer gets properly fixed.

My plan is to have another release of Paraffin soon that adds some major features. Hisham Zreiq sent me some awesome extensions to Paraffin that incorporates COM registration, by using the same code Heat does. I’ll make this an optional flag to ensure it works with existing Paraffin uses. In addition to the above mentioned possible patching support, I also want to incorporate the latest WiX 3.5 language changes for the Component element, which will make my code drastically simpler.

As always, please don’t hesitate to let me know you have ideas for Paraffin because I’d love to hear about them.

Deploy Your Equipment Locally and Globally

Atmosera owns and operates secure data centers for customers that need full-service space, power and cooling. We offer secure racks, cabinets and cages, and network connectivity from multiple network providers. We partner with other data center providers to support national and international deployments.

Improve System Uptime

Decrease Resolution Times

Rely on Proven Data Centers

Plan a Path to the Cloud

Together we will reduce the potential for business impacting outages by leveraging modern and 
secure data centers.

Confidently take advantage of 
a highly trained 24x7x365 
team of professionals who can perform remote hands services.

We deliver environments that are SSAE Type II audited by 
a third party and N+1.

We can help you migrate to a public, private or combination cloud using our deep knowledge and real world experience.

Reliable, Secure, Audited

All Atmosera operated data centers are SSAE 16 Type II, audited by a third party and offer 24x7x365 secure access with two-factor authentication, and individually keyed cabinets and cages. Atmosera’s Technical Assistance Command Center (TACC) provides around the clock monitoring and remote hands service for customers who need it.

Safe Yet Accessible

  • Secure, 24x7x365 access via card key and fingerprint
  • Individual key locks for cabinets and cages
  • Entire campus monitored for intrusion detection with internal alarming 
and an external security service
  • Multiple surveillance cameras monitor and log all activity

Versatility Means Choice

  • Choose colocation cages or cabinets with ample power options
  • Atmosera can help with design, planning, procurement and installation
  • Custom-configured managed services for Monitoring, Security and Backup available

Redundancies Eliminate Single Points of Failure

  • All infrastructure components are redundant and tested regularly
  • Only high-quality components
  • Rigorous operational and maintenance procedures
  • Experienced and motivated staff to deliver reliable services

24x7x365 Support

All Atmosera operated data centers are supported by some of the most talented system administrators and engineers available, keeping watch 24x7x365 from our on-site Technical Assistance Command Center (TACC).

  • Faster remediation via remote hands and ongoing assistance
  • Architecture, design, procurement and installation services
  • 24x7x365 monitoring of services and equipment
  • Managed security

Global Reach

We partner with other data center providers to support national and international deployments. We currently over colocation 
in over 30 locations across 3 continents.

Portland Data Centers

Atmosera’s three Portland-area colocation data centers are designed to be reliable, secure, versatile and sustainable. 
Over 21,000 square feet of colocation space with high power density and carrier-neutral facilities.

A Long-Standing Commitment to Sustainable IT Practices

We buy offsets for 100% of the electricity, city water and natural gas we consume in our 
Beaverton facilities:

  • Zero-carbon-footprint operations
  • Rainwater capture provides the majority of water for cooling Data Center 2 (DC2)
  • Hot air containment reduces power consumption
  • Innovative Indirect Evaporative Cooling

Cloud Migration Path

From colocation to cloud is easier than you might think. Many Atmosera customers have enlisted our help to migrate into the cloud from their existing colocation deployments. Some customers are also maintaining their colocation while deploying new applications in a private or public cloud and running a true hybrid deployment. Regardless of where you are in your cloud journey, Atmosera can help you with your colocation and any cloud migrations to meet your business needs.

We deliver solutions that accelerate the value of Azure.

Ready to experience the full power of Microsoft Azure?

Start Today

Blog Home

Stay Connected

Upcoming Events

All Events