Giter Club home page Giter Club logo

Comments (5)

npocmaka avatar npocmaka commented on July 24, 2024

Hello jamborloi . Which bat do you mean?

~best regards.

from batch.scripts.

jamborloi avatar jamborloi commented on July 24, 2024

Hey Thanks for the reply...Actually you got a good tool https://github.com/npocmaka/batch.scripts/blob/master/hybrids/iexpress/bat2exeIEXP.bat

in IEXPRESS wizard in windows I usually used to add to package 2 .exe file. One is install file and the other is post installation command.

I understand your comman for this batch file is bat2exeIEXP.bat myBatFile.bat MyExecutable.exe
how can I do it with it will do the install program first like putty.exe first then the post install command will be a powershell.bat.
image

from batch.scripts.

npocmaka avatar npocmaka commented on July 24, 2024

As I understand your question - you want to pack in one exe putty and one powershell.bat and then to execute the bat file?

from batch.scripts.

npocmaka avatar npocmaka commented on July 24, 2024

here's an example SED file where you will need to change the paths:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Version]
Class=IEXPRESS
SEDVersion=3
[Options]
PackagePurpose=InstallApp
ShowInstallProgramWindow=1
HideExtractAnimation=1
UseLongFileName=1
InsideCompressed=0
CAB_FixedSize=0
CAB_ResvCodeSigning=0
RebootMode=N
InstallPrompt=%InstallPrompt%
DisplayLicense=%DisplayLicense%
FinishMessage=%FinishMessage%
TargetName=%TargetName%
FriendlyName=%FriendlyName%
AppLaunched=%AppLaunched%
PostInstallCmd=%PostInstallCmd%
AdminQuietInstCmd=%AdminQuietInstCmd%
UserQuietInstCmd=%UserQuietInstCmd%
SourceFiles=SourceFiles
[Strings]
InstallPrompt=
DisplayLicense=
FinishMessage=
TargetName=C:\target\exewithputty.exe
FriendlyName=jamborloi
AppLaunched=cmd /c powershell.bat
PostInstallCmd=
AdminQuietInstCmd=
UserQuietInstCmd=
FILE0="putty.exe"
FILE1="powershell.bat"
[SourceFiles]
SourceFiles0=C:\sources
[SourceFiles0]
%FILE0%=
%FILE1%=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

and then you can create the package with iexpress /n /q /m sedfile.sed

from batch.scripts.

jamborloi avatar jamborloi commented on July 24, 2024

Hi, thank you for this I have tried and attached photo output below,
And came out error creating process. Putty did not came out as well. However that launcher.bat which is powershell command serve its purpose correctly.
image

from batch.scripts.

Related Issues (20)

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.