Jump to content

(Solved) 7z sfx (could not find command for autoinstall)


Alpha_95
 Share

Recommended Posts

Posted (edited)

Bonjour,

J'utilise la version 1.7.1 de SFX

 

dans npp.txt:

;!@Install@!UTF-8!

GUIMode="2"
GUIFlags="4"

RunProgram="npp.exe /S"

AutoInstall="waitall:npp.exe /S"
AutoInstall="waitall:ext.exe"

AutoInstall0="waitall:npp.exe /S"
AutoInstall0="waitall:ext.exe"
AutoInstall0="waitall:regedit /s npptitle.reg"

;!@InstallEnd@!

ensuite:

copy /b 7z.sfx + npp.txt + npp.7z npp.exe

puis je tente de l'installer (manuellement en cli)

npp.exe /ai0

Cela a toujours fonctionné ainsi, je ne comprends/vois pas mon erreur ?

Merci à vous pour votre aide

J'ai essayé en echappant mais pareil

;!@Install@!UTF-8!

GUIMode="2"
GUIFlags="4"

RunProgram="waitall:\"npp.exe\" /S"

Autoinstall="waitall:\"npp.exe\" /S"
Autoinstall="waitall:\"ext.exe\""

Autoinstall0="waitall:\"npp.exe\" /S"
Autoinstall0="waitall:\"ext.exe\""
Autoinstall0="regedit.exe /s \"npp.reg\""


;!@InstallEnd@!

Je pensais à l'encodage mais hélas non, le problème persiste.

 

J'ai trouvé, c'était le fichier .sfx le problème :x

Edited by Alpha_95
Link to comment
Share on other sites

  • Alpha_95 changed the title to (Solved) 7z sfx (could not find command for autoinstall)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...