├── .editorconfig
├── .github
├── CODEOWNERS
├── dependabot.yml
├── labels.yml
└── workflows
│ ├── build.yml
│ ├── labels.yml
│ └── released.yml
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── build.properties
├── build.xml
├── go.mod
├── go.sum
├── main.go
├── res
├── app.ico
├── app.png
├── papp.ico
├── papp.manifest
├── papp.png
├── run.iss
└── setup-mini.bmp
└── tools
└── tools.go
/.editorconfig:
--------------------------------------------------------------------------------
1 | # This file is for unifying the coding style for different editors and IDEs.
2 | # More information at http://editorconfig.org
3 |
4 | root = true
5 |
6 | [*]
7 | charset = utf-8
8 | indent_size = 2
9 | indent_style = space
10 | end_of_line = lf
11 | insert_final_newline = true
12 | trim_trailing_whitespace = true
13 |
14 | [*.md]
15 | trim_trailing_whitespace = false
16 |
17 | [*.go]
18 | indent_style = tab
19 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @crazy-max
2 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: "gomod"
4 | directory: "/"
5 | schedule:
6 | interval: "daily"
7 | time: "08:00"
8 | timezone: "Europe/Paris"
9 | labels:
10 | - ":game_die: dependencies"
11 | - ":robot: bot"
12 | - package-ecosystem: "github-actions"
13 | directory: "/"
14 | schedule:
15 | interval: "daily"
16 | time: "08:00"
17 | timezone: "Europe/Paris"
18 | labels:
19 | - ":game_die: dependencies"
20 | - ":robot: bot"
21 |
--------------------------------------------------------------------------------
/.github/labels.yml:
--------------------------------------------------------------------------------
1 | ## more info https://github.com/crazy-max/ghaction-github-labeler
2 | - # bot
3 | name: ":robot: bot"
4 | color: "69cde9"
5 | description: ""
6 | - # broken
7 | name: ":zap: broken"
8 | color: "a3090e"
9 | description: ""
10 | - # bug
11 | name: ":bug: bug"
12 | color: "b60205"
13 | description: ""
14 | - # dependencies
15 | name: ":game_die: dependencies"
16 | color: "0366d6"
17 | description: ""
18 | - # documentation
19 | name: ":memo: documentation"
20 | color: "c5def5"
21 | description: ""
22 | - # duplicate
23 | name: ":busts_in_silhouette: duplicate"
24 | color: "cccccc"
25 | description: ""
26 | - # enhancement
27 | name: ":sparkles: enhancement"
28 | color: "0054ca"
29 | description: ""
30 | - # feature request
31 | name: ":bulb: feature request"
32 | color: "0e8a16"
33 | description: ""
34 | - # feedback
35 | name: ":mega: feedback"
36 | color: "03a9f4"
37 | description: ""
38 | - # future maybe
39 | name: ":rocket: future maybe"
40 | color: "fef2c0"
41 | description: ""
42 | - # good first issue
43 | name: ":hatching_chick: good first issue"
44 | color: "7057ff"
45 | description: ""
46 | - # help wanted
47 | name: ":pray: help wanted"
48 | color: "4caf50"
49 | description: ""
50 | - # hold
51 | name: ":hand: hold"
52 | color: "24292f"
53 | description: ""
54 | - # invalid
55 | name: ":no_entry_sign: invalid"
56 | color: "e6e6e6"
57 | description: ""
58 | - # maybe bug
59 | name: ":interrobang: maybe bug"
60 | color: "ff5722"
61 | description: ""
62 | - # needs more info
63 | name: ":thinking: needs more info"
64 | color: "795548"
65 | description: ""
66 | - # question
67 | name: ":question: question"
68 | color: "3f51b5"
69 | description: ""
70 | - # trademark violation
71 | name: ":construction: trademark violation"
72 | color: "cfe524"
73 | description: ""
74 | - # upstream
75 | name: ":eyes: upstream"
76 | color: "fbca04"
77 | description: ""
78 | - # wontfix
79 | name: ":coffin: wontfix"
80 | color: "ffffff"
81 | description: ""
82 |
--------------------------------------------------------------------------------
/.github/workflows/build.yml:
--------------------------------------------------------------------------------
1 | name: build
2 |
3 | on:
4 | workflow_dispatch:
5 | push:
6 | tags:
7 | - '*'
8 | pull_request:
9 |
10 | jobs:
11 | build:
12 | uses: portapps/.github/.github/workflows/app-build.yml@master
13 |
--------------------------------------------------------------------------------
/.github/workflows/labels.yml:
--------------------------------------------------------------------------------
1 | name: labels
2 |
3 | on:
4 | push:
5 | branches:
6 | - 'master'
7 | paths:
8 | - '.github/labels.yml'
9 | - '.github/workflows/labels.yml'
10 |
11 | jobs:
12 | labeler:
13 | runs-on: ubuntu-latest
14 | steps:
15 | -
16 | name: Checkout
17 | uses: actions/checkout@v4
18 | -
19 | name: Run Labeler
20 | uses: crazy-max/ghaction-github-labeler@v5
21 |
--------------------------------------------------------------------------------
/.github/workflows/released.yml:
--------------------------------------------------------------------------------
1 | name: released
2 |
3 | on:
4 | release:
5 | types: [published]
6 |
7 | jobs:
8 | virustotal:
9 | uses: portapps/.github/.github/workflows/app-virustotal.yml@master
10 | secrets:
11 | vt_api_key: ${{ secrets.VT_API_KEY }}
12 | vt_monitor_api_key: ${{ secrets.VT_MONITOR_API_KEY }}
13 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Intellij
2 | /.idea
3 | /*.iml
4 |
5 | # App
6 | /.dev
7 | /bin
8 | /vendor
9 | /*.syso
10 | /*.exe
11 | /versioninfo.json
12 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## 6.2.0-5 (2022/03/06)
4 |
5 | * InnoSetup 6.2.0
6 | * Portapps 3.4.0
7 |
8 | ## 6.1.2-4 (2020/11/16)
9 |
10 | * InnoSetup 6.1.2
11 | * Portapps 2.6.0
12 |
13 | ## 6.0.5-3 (2020/06/07)
14 |
15 | * InnoSetup 6.0.5
16 | * Portapps 2.4.4
17 |
18 | ## 6.0.4-2 (2020/03/16)
19 |
20 | * InnoSetup 6.0.4
21 | * Portapps 1.31.0
22 |
23 | ## 6.0.3-2 (2019/10/19)
24 |
25 | * InnoSetup 6.0.3
26 |
27 | ## 5.6.1-1 (2019/10/19)
28 |
29 | * Initial version based on InnoSetup 5.6.1
30 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019-2025 CrazyMax
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |

2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | ## Notice of Non-Affiliation and Disclaimer
13 |
14 | Portapps is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Inno Setup™, or any of its subsidiaries or its affiliates.
15 |
16 | The official Inno Setup™ website can be found at http://www.jrsoftware.org/isinfo.php.
17 |
18 | The name Inno Setup™ as well as related names, marks, emblems and images are registered trademarks of their respective owners.
19 |
20 | ## About
21 |
22 | Inno Setup™ portable app made with 🚀 [Portapps](https://portapps.io).
23 | Documentation and downloads can be found on https://portapps.io/app/innosetup-portable/
24 |
25 | ## Contributing
26 |
27 | Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. If
28 | you want to open a pull request, please read the [contributing guidelines](https://portapps.io/doc/contribute/).
29 |
30 | You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) or by
31 | making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely!
32 |
33 | Thanks again for your support, it is much appreciated! :pray:
34 |
35 | ## License
36 |
37 | MIT. See `LICENSE` for more details.
38 | Rocket icon credit to [Squid Ink](http://thesquid.ink).
39 |
--------------------------------------------------------------------------------
/build.properties:
--------------------------------------------------------------------------------
1 | # Portapps
2 | core.dir = ../portapps
3 |
4 | # App
5 | app = innosetup
6 | app.name = Inno Setup
7 | app.type = innosetup
8 | app.version = 6.2.0
9 | app.release = 5
10 | app.homepage = http://www.jrsoftware.org/isinfo.php
11 |
12 | # Portable app
13 | papp.id = ${app}-portable
14 | papp.guid = {CA9535B1-B0DE-4710-944A-3F67AEA24DCF}
15 | papp.name = ${app.name} Portable
16 | papp.desc = ${app.name} portable on Windows by Portapps
17 | papp.url = https://github.com/portapps/${papp.id}
18 | papp.folder = app
19 |
20 | # InnoSetup
21 | innosetup.app = app
22 |
23 | # Official artifacts
24 | atf.id = innosetup
25 | atf.win32.filename = ${atf.id}-win32-${app.version}-setup
26 | atf.win32.ext = .exe
27 | atf.win32.url = http://files.jrsoftware.org/is/6/innosetup-${app.version}.exe
28 | atf.win32.assertextract = ${innosetup.app}/ISCC.exe
29 |
--------------------------------------------------------------------------------
/build.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/portapps/innosetup-portable
2 |
3 | go 1.24.0
4 |
5 | require github.com/portapps/portapps/v3 v3.16.0
6 |
7 | require (
8 | github.com/akavel/rsrc v0.10.2 // indirect
9 | github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
10 | github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d // indirect
11 | github.com/josephspurrier/goversioninfo v1.5.0 // indirect
12 | github.com/mattn/go-colorable v0.1.13 // indirect
13 | github.com/mattn/go-isatty v0.0.19 // indirect
14 | github.com/pkg/errors v0.9.1 // indirect
15 | github.com/rs/zerolog v1.34.0 // indirect
16 | golang.org/x/sys v0.32.0 // indirect
17 | gopkg.in/yaml.v3 v3.0.1 // indirect
18 | )
19 |
--------------------------------------------------------------------------------
/go.sum:
--------------------------------------------------------------------------------
1 | github.com/akavel/rsrc v0.10.2 h1:Zxm8V5eI1hW4gGaYsJQUhxpjkENuG91ki8B4zCrvEsw=
2 | github.com/akavel/rsrc v0.10.2/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c=
3 | github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
4 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
5 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
6 | github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss=
7 | github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
8 | github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
9 | github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d h1:OGuVAVny/97zsQ5BWg0mOjzTBBD9zR+Lug1co144+rU=
10 | github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d/go.mod h1:S1q6q+21PRGd0WRX+fHjQ+TOe3CgpSv7zgCWnZcbxCs=
11 | github.com/josephspurrier/goversioninfo v1.5.0 h1:9TJtORoyf4YMoWSOo/cXFN9A/lB3PniJ91OxIH6e7Zg=
12 | github.com/josephspurrier/goversioninfo v1.5.0/go.mod h1:6MoTvFZ6GKJkzcdLnU5T/RGYUbHQbKpYeNP0AgQLd2o=
13 | github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
14 | github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
15 | github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
16 | github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
17 | github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
18 | github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
19 | github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
20 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
21 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
22 | github.com/portapps/portapps/v3 v3.16.0 h1:wQyDDoYAh7YTTaIwo48K8lbegODZuasSq4S7XIppe6s=
23 | github.com/portapps/portapps/v3 v3.16.0/go.mod h1:4ue65AQ4rAe0iiOr3tTvmmNyDYIB9R6JywBBEPrJKZU=
24 | github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0=
25 | github.com/rs/zerolog v1.34.0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY=
26 | github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ=
27 | github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
28 | github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
29 | golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
30 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
31 | golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
32 | golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20=
33 | golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
34 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
35 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
36 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
37 | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
38 |
--------------------------------------------------------------------------------
/main.go:
--------------------------------------------------------------------------------
1 | //go:generate go install -v github.com/josephspurrier/goversioninfo/cmd/goversioninfo
2 | //go:generate goversioninfo -icon=res/papp.ico -manifest=res/papp.manifest
3 | package main
4 |
5 | import (
6 | "os"
7 |
8 | "github.com/portapps/portapps/v3"
9 | "github.com/portapps/portapps/v3/pkg/log"
10 | "github.com/portapps/portapps/v3/pkg/utl"
11 | )
12 |
13 | var (
14 | app *portapps.App
15 | )
16 |
17 | func init() {
18 | var err error
19 |
20 | // Init app
21 | if app, err = portapps.New("innosetup-portable", "Inno Setup"); err != nil {
22 | log.Fatal().Err(err).Msg("Cannot initialize application. See log file for more info.")
23 | }
24 | }
25 |
26 | func main() {
27 | app.Process = utl.PathJoin(app.AppPath, "Compil32.exe")
28 |
29 | defer app.Close()
30 | app.Launch(os.Args[1:])
31 | }
32 |
--------------------------------------------------------------------------------
/res/app.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/portapps/innosetup-portable/d32355b3b8ab392e885a006a2d58927bcd649baf/res/app.ico
--------------------------------------------------------------------------------
/res/app.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/portapps/innosetup-portable/d32355b3b8ab392e885a006a2d58927bcd649baf/res/app.png
--------------------------------------------------------------------------------
/res/papp.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/portapps/innosetup-portable/d32355b3b8ab392e885a006a2d58927bcd649baf/res/papp.ico
--------------------------------------------------------------------------------
/res/papp.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/papp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/portapps/innosetup-portable/d32355b3b8ab392e885a006a2d58927bcd649baf/res/papp.png
--------------------------------------------------------------------------------
/res/run.iss:
--------------------------------------------------------------------------------
1 | [Run]
2 | Filename: {app}\{#pappId}.exe; Description: Run {#pappName}; Flags: nowait postinstall skipifsilent unchecked
3 |
--------------------------------------------------------------------------------
/res/setup-mini.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/portapps/innosetup-portable/d32355b3b8ab392e885a006a2d58927bcd649baf/res/setup-mini.bmp
--------------------------------------------------------------------------------
/tools/tools.go:
--------------------------------------------------------------------------------
1 | //go:build tools
2 | // +build tools
3 |
4 | // Package tools tracks dependencies on binaries not referenced in this codebase.
5 | // https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
6 | package tools
7 |
8 | import (
9 | _ "github.com/portapps/portapps/v3/tools"
10 | )
11 |
--------------------------------------------------------------------------------