Windows: Remove old msi package creation
- Utilized only by recently removed Makefile - Unused
This commit is contained in:
parent
5a401f42a3
commit
a0e6422c5f
5 changed files with 0 additions and 170 deletions
|
@ -1,54 +0,0 @@
|
|||
;----------------------------------------------------------------------------
|
||||
; MODULE NAME: LIBNFC.MM
|
||||
;
|
||||
; $Author: USER "rogerb" $
|
||||
; $Revision: 1267 $
|
||||
; $Date: 02 Jun 2006 17:10:46 $
|
||||
; $Logfile: C:/DBAREIS/Projects.PVCS/Win32/MakeMsi/TryMe.mm.pvcs $
|
||||
;
|
||||
; DESCRIPTION
|
||||
; ~~~~~~~~~~~
|
||||
; This is a simple sample/test MSI. Takes about 30 seconds to build and
|
||||
; validate on my AMD 3200.
|
||||
;
|
||||
; Any line within this file that begins with ";" can be ignored as its
|
||||
; only a comment so there are only 3 important lines in this file:
|
||||
;
|
||||
; 1. #include "ME.MMH"
|
||||
; 2. <$DirectoryTree Key="INSTALLDIR" ...
|
||||
; 3. <$Files "TryMe.*" DestDir="INSTALLDIR">
|
||||
;----------------------------------------------------------------------------
|
||||
|
||||
; #define? COMPANY_PRODUCT_ICON ..\win32\libnfc.ico ;; override from company.mmh
|
||||
#define? UISAMPLE_DIALOG_FILE_dlgbmp nfcleft.bmp ;; override uisample.mmh
|
||||
#define? UISAMPLE_BLINE_TEXT www.nfc-tools.org
|
||||
#define? COMPANY_WANT_TO_INSTALL_DOCUMENTATION N
|
||||
|
||||
;--- Include MAKEMSI support (with my customisations and MSI branding) ------
|
||||
#define VER_FILENAME.VER libnfc.Ver ;;I only want one VER file for all samples! (this line not actually required in "tryme.mm")
|
||||
#include "ME.MMH"
|
||||
|
||||
;--- Want to debug (not common) ---------------------------------------------
|
||||
;#debug on
|
||||
;#Option DebugLevel=^NONE, +OpSys^
|
||||
|
||||
|
||||
;--- Define default location where file should install and add files --------
|
||||
<$DirectoryTree Key="INSTALLDIR" Dir="[ProgramFilesFolder]libnfc-1.3.4" CHANGE="\" PrimaryFolder="Y">
|
||||
<$DirectoryTree Key="INSTALLDIR2" Dir="[INSTALLDIR]bin" >
|
||||
<$DirectoryTree Key="INSTALLDIR3" Dir="[INSTALLDIR]lib" >
|
||||
<$DirectoryTree Key="INSTALLDIR4" Dir="[INSTALLDIR]include" >
|
||||
<$DirectoryTree Key="INSTALLDIR5" Dir="[INSTALLDIR4]nfc" >
|
||||
<$Files "..\bin\nfc-list.exe" DestDir="INSTALLDIR2" >
|
||||
<$Files "..\bin\nfc-poll.exe" DestDir="INSTALLDIR2" >
|
||||
<$Files "..\bin\nfc-relay.exe" DestDir="INSTALLDIR2" >
|
||||
<$Files "..\bin\nfc-emulate.exe" DestDir="INSTALLDIR2" >
|
||||
<$Files "..\bin\nfc-mfultralight.exe" DestDir="INSTALLDIR2" >
|
||||
<$Files "..\bin\nfc-mfclassic.exe" DestDir="INSTALLDIR2" >
|
||||
<$Files "..\bin\nfcip-initiator.exe" DestDir="INSTALLDIR2" >
|
||||
<$Files "..\bin\nfcip-target.exe" DestDir="INSTALLDIR2" >
|
||||
<$Files "..\bin\nfc.dll" DestDir="SystemFolder" >
|
||||
<$Files "..\bin\nfc.lib" DestDir="INSTALLDIR3" >
|
||||
<$Files "..\..\include\nfc\nfc.h" DestDir="INSTALLDIR5" >
|
||||
<$Files "..\..\include\nfc\nfc-messages.h" DestDir="INSTALLDIR5" >
|
||||
<$Files "..\..\include\nfc\nfc-types.h" DestDir="INSTALLDIR5" >
|
|
@ -1,13 +0,0 @@
|
|||
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
; ProductName = libnfc
|
||||
; DESCRIPTION = Public platform independent Near Field Communication (NFC) library
|
||||
; Installed = WINDOWS_ALL
|
||||
; Guid.UpgradeCode = {5880D072-659D-4038-894D-C85BF514B95A}
|
||||
; MsiName = libnfc-1.4.0
|
||||
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
;############################################################################
|
||||
VERSION : 1.4.0.0
|
||||
DATE : 26 Oct 2010
|
||||
CHANGES : Example Packaging
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
set OLDPATH=%PATH%
|
||||
set PATH=%PATH%;"c:\program files\makemsi"
|
||||
rmdir /s /q out
|
||||
call "%ProgramFiles%\MakeMSI\mm.cmd" "libnfc.mm"
|
||||
if errorlevel 1 goto failed
|
||||
|
||||
:success
|
||||
echo success
|
||||
goto doneall
|
||||
|
||||
:failed
|
||||
echo failed
|
||||
|
||||
:doneall
|
||||
set PATH=%OLDPATH%
|
|
@ -1,88 +0,0 @@
|
|||
; Copyright 2009, Snapper Services Limited, New Zealand
|
||||
; All rights reserved
|
||||
; $Id: me.mmh 1224 2010-05-04 04:14:44Z roger.brown $
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
;
|
||||
; MODULE NAME: ME.MMH
|
||||
;
|
||||
; $Author: USER "Dennis" $
|
||||
; $Revision: 1224 $
|
||||
; $Date: 27 Sep 2007 17:38:34 $
|
||||
; $Logfile: C:/DBAREIS/Projects.PVCS/Win32/MakeMsi/ME.mmh.pvcs $
|
||||
;
|
||||
; Very simplistic example of a MAKEMSI customisation/branding file, see
|
||||
; "DENNIS.MMH" for a more complex variation (please don't use it though...).
|
||||
;----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
;--- Set up some options specific to my requirements ------------------------
|
||||
;----------------------------------------------------------------------------
|
||||
#define? DEPT_ARP_URL_PUBLISHER http://www.MyUrl.com/See/ME.MMH/
|
||||
#define? DEPT_ARP_URL_TECHNICAL_SUPPORT http://www.MyUrl.com/See/ME.MMH/Support
|
||||
#define? DEPT_NAME no department
|
||||
#define? DEPT_ADDRESS New Zealand
|
||||
#define? COMPANY_CONTACT_NAME <$DEPT_NAME>
|
||||
#define? COMPANY_CONTACT_NAME_PHONE ;;No phone
|
||||
#define? COMPANY_SUMMARY_SCHEMA 110 ;;Minimum v1.1 Installer
|
||||
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
;--- Override/set some standard defaults ------------------------------------
|
||||
;----------------------------------------------------------------------------
|
||||
#define? DBG_ALL Y ;;Add MAKEMSI debugging to "console file"
|
||||
#define? DBG_SAY_LOCATION call Say2Logs <$DBG_INDENT> || ' ' || time() || ' ' ;;Adding time makes it a bit slower but useful for debugging slow builds...
|
||||
#define? COMMONFRAMEWORK_ZIP_SOURCE_FOR_BACKUP N ;;No "insurance" until I bother to install "info zip"...
|
||||
#define? DEFAULT_SERVICE_CONTROL_UNINSTALL_EVENTS ;;I think this option is safer than the MAKEMSI default
|
||||
#define? DEFAULT_SERVICE_CONTROL_INSTALL_EVENTS ;;I think this option is better
|
||||
#define? DEFAULT_FILE_WANT_FILEHASH Y ;;My box can generate MD5 hashes!
|
||||
#define? COMPANY_PREPROCESS_LICENCE_FILE Y ;;Default is to preprocess licence files
|
||||
#define? MAKEMSI_HTML_EXTENSION hta ;;Default extension (HTML Application - gets around WINXP SP2 issue)
|
||||
#define? UISAMPLE_LEFTSIDE_TEXT_FONT_NAME Tahoma
|
||||
#define? UISAMPLE_LEFTSIDE_TEXT_FONT_SIZE 8
|
||||
#define? UISAMPLE_LEFTSIDE_TEXT_FONT_COLOR &H000000 ;;Black
|
||||
#(
|
||||
#define? UISAMPLE_LEFTSIDE_TEXT
|
||||
#)
|
||||
#(
|
||||
#define? @VALIDATE_TEXT_FOR_MISSINGDATA ;;Example only as now duplicates exact text as new default value
|
||||
This column is not mentioned in the _Validation table.
|
||||
Either add the validation data or use the "@validate" parameter
|
||||
on the "row" command (or alter its default).
|
||||
#)
|
||||
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
;--- Include MAKEMSI support ------------------------------------------------
|
||||
;----------------------------------------------------------------------------
|
||||
#include "DEPT.MMH"
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
;--- I want to compress any DLL based custom actions generated by MAKEMSI ---
|
||||
;----------------------------------------------------------------------------
|
||||
<$GetFullBuildTimeFileName RcVar="@@FullUpxExeName" Macro="DENNIS_UPX.EXE" File="upx.exe" MustExist="N">
|
||||
#if [@@FullUpxExeName = '']
|
||||
;--- If UPX.EXE doesn't exist report an error ---------------------------
|
||||
;#error "DLL not being compressed (UPX.EXE not found)" ;;This is also a sample, can't expect users to have "UPX.EXE"...
|
||||
#info "DLL custom action code will not be compressed (UPX.EXE not found)"
|
||||
#else
|
||||
;--- "UPX.EXE" was found ------------------------------------------------
|
||||
#(
|
||||
;--- Define the macro that MAKEMSI will use as required -------------
|
||||
#define+ DLLCA-C_COMPRESS_DLL_COMMAND_LINE ;;Need to OVERRIDE value (we couldn't do it earler or "GetFullBuildTimeFileName" wouldn't exist!)
|
||||
|
||||
;--- I expect "upx.exe" to be in the "PATH" environment variable ----
|
||||
"<??@@FullUpxExeName>" ;;Full name of UPX.EXE (get from "http://upx.sourceforge.net/")
|
||||
|
||||
;--- I want highest compression -------------------------------------
|
||||
--best
|
||||
|
||||
;--- Backup the DLL as a debugging aid... ---------------------------
|
||||
-k
|
||||
#)
|
||||
#endif
|
Binary file not shown.
Before Width: | Height: | Size: 450 KiB |
Loading…
Reference in a new issue