Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 7zip as the EXE wrapper instead of AutoIt #10

Closed
eesheesh opened this issue Feb 5, 2020 · 3 comments
Closed

Use 7zip as the EXE wrapper instead of AutoIt #10

eesheesh opened this issue Feb 5, 2020 · 3 comments
Assignees

Comments

@eesheesh
Copy link
Collaborator

eesheesh commented Feb 5, 2020

We can use https://www.7-zip.org/a/lzma1900.7z from https://www.7-zip.org/sdk.html. We need to create build.config.gspstool:

;!@Install@!UTF-8!
ExecuteFile="cmd.exe"
ExecuteParameters="/c title G Suite Password Sync diagnostics tool && cscript //nologo gspstool.vbs"
Directory="%temp%"
GUIMode="2"
Progress="no"
;!@InstallEnd@!

...and then:

"C:\Program Files\7-Zip\7z.exe" a gspstool.7z gspstool.vbs
copy /b 7zSD.sfx  + build.config.gspstool + gspstool.7z test-exe\gspstool.exe
@eesheesh eesheesh self-assigned this Feb 5, 2020
@eesheesh
Copy link
Collaborator Author

Or just use AutoHotKey.

@eesheesh
Copy link
Collaborator Author

...or consider having the script elevate itself, if it works well enough:

Detect if elevated

Elevate from VBS

@eesheesh
Copy link
Collaborator Author

Fixed in 885078a, using the pure VBS method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant