Skip to content

Instantly share code, notes, and snippets.

View nam20485's full-sized avatar

Nathan Miller nam20485

View GitHub Profile
@nam20485
nam20485 / gist:e1ddd0bf141fd12ca14b0b022a50f5d8
Created February 27, 2021 18:31
Windows Installer (.msi) Command Line Arguments
Windows ® Installer. V 5.0.18362.1
msiexec /Option <Required Parameter> [Optional Parameter]
Install Options
</package | /i> <Product.msi>
Installs or configures a product
/a <Product.msi>
Administrative install - Installs a product on the network
/j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
@nam20485
nam20485 / NonCopyable.h
Last active October 26, 2024 21:50
NonCopyable base class so you can inherit instead of implementing in every class
#pragma once
class NonCopyable
{
protected:
// 1. provide default ctor so it doesn't have to be explicitly defined in inherited classes
// 2. make NonCopyable class abstract so it can't be instantiated
NonCopyable() {}
/*virtual*/ ~NonCopyable() {}