ipasim icon indicating copy to clipboard operation
ipasim copied to clipboard

Excecutable installer

Open upintheairsheep opened this issue 2 years ago • 1 comments

Hello, I would like to publish ipasim onto the WinGet repository, however they have a strict policy against apps that use scripts to install, and was never implemented due to agreements. Scripts within executables are allowed onto the platform, though.

upintheairsheep avatar May 06 '23 21:05 upintheairsheep

I don't think executable installer is necessary, WinGet manifests can point to .msix. But they would need some real certificate, ipasim currently only has a self-signed one.

Alternatively, you can package the powershell script in a self-extracting archive - would that work? For example, I used https://superuser.com/a/929132 with the following config to produce an .exe installer which seems to work fine.

;!@Install@!UTF-8!
Title="ipasim v1.0.1.0"
ExecuteFile="powershell.exe"
ExecuteParameters="-ExecutionPolicy Bypass -File Add-AppDevPackage.ps1 -Force"
;!@InstallEnd@!

I've uploaded the installer here:

https://github.com/ipasimulator/ipasim/releases/download/v1.0.1/ipasim-build-v1.0.1-2023-01-01.exe

jjonescz avatar May 10 '23 20:05 jjonescz