Git Product home page Git Product logo

mongodb-win-install-script's Introduction

Hi there ๐Ÿ‘‹

Anurag's GitHub stats

mongodb-win-install-script's People

Contributors

rexzhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bx5974 yukuansong

mongodb-win-install-script's Issues

Script don't work

Here are adjustments for it to work properly:

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "MongoDBWrapper"
#define MyAppVersion "1.0"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{C91D511B-C19E-4F22-A249-06FFC2003549}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
DefaultDirName=C:\MongoDB
DisableDirPage=yes
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
OutputDir=setup
OutputBaseFilename=mongodb-setup
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Files]
Source: "mongodb-x86-x64\bin\mongodb-win32-x86_64-2008plus-ssl-3.4.1-signed.msi"; DestDir: "{app}"; Flags: ignoreversion createallsubdirs recursesubdirs; MinVersion: 0,6.1;
Source: "mongodb-common\mongod.cfg"; DestDir: "{app}"

[Run]
Filename: "msiexec.exe"; Parameters: "/q /i ""{app}\mongodb-win32-x86_64-2008plus-ssl-3.4.1-signed.msi"" INSTALLLOCATION=""{app}"" ADDLOCAL=""all"""
Filename: {sys}\sc.exe; Parameters: "create MongoDB binPath= ""{app}\bin\mongod.exe --service --config={app}\mongod.cfg"" DisplayName= ""MongoDB"" start= ""auto""" ; Flags: runhidden
Filename: {sys}\sc.exe; Parameters: "start MongoDB" ; Flags: runhidden

[Dirs]
Name: "{app}\log"
Name: "{app}\db"

[UninstallRun]
Filename: {sys}\sc.exe; Parameters: "stop MongoDB" ; Flags: runhidden
Filename: {sys}\sc.exe; Parameters: "delete MongoDB" ; Flags: runhidden
Filename: "msiexec.exe"; Parameters: "/q /x ""{app}\mongodb-win32-x86_64-2008plus-ssl-3.4.1-signed.msi"""

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.