Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

7z SFX Modified Module and Tools

- - - - -

  • Please log in to reply
438 replies to this topic

#376
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag


1-One question, how I can make a 7zsfx with hidden files...? I can do with password, but I just want the password to prevent decompression, and not for install, as in Button setup by Gora...

Read here
FAQ, item 2

Now I look... thanks... :lol:

Excuse my stupidity, can not find it... :blushing:

Edited by alfreire, 16 September 2012 - 10:42 AM.



How to remove advertisement from MSFN

#377
gora

gora

    Member

  • Members
  • PipPip
  • 145 posts
  • OS:Windows 7 x64
  • Country: Country Flag
RunProgram="x86:NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
RunProgram="x64:NotepadReplacer116.exe /NOTEPAD=\"%programfiles(x86)%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
These two lines are equivalent to a single line (for x86 modules):
RunProgram="NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 


#378
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Just a little typo error inside your config.txt: check it!

;!@InstallEnd@!

Cheers

Edited by myselfidem, 16 September 2012 - 10:36 AM.


#379
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag

RunProgram="x86:NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
RunProgram="x64:NotepadReplacer116.exe /NOTEPAD=\"%programfiles(x86)%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
These two lines are equivalent to a single line (for x86 modules):
RunProgram="NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 



Just a little typo error inside your config.txt: check it!

There is no error in config.txt, error by copy/paste... X-D

;!@InstallEnd@!

Cheers

Thanks again... :rolleyes:

Edited by alfreire, 16 September 2012 - 10:47 AM.


#380
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag

RunProgram="x86:NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
RunProgram="x64:NotepadReplacer116.exe /NOTEPAD=\"%programfiles(x86)%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
These two lines are equivalent to a single line (for x86 modules):
RunProgram="NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 



Just a little typo error inside your config.txt: check it!

;!@InstallEnd@!

Cheers


There is no error in config.txt, error by copy/paste... X-D

Thanks again... :rolleyes:

#381
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag



1-One question, how I can make a 7zsfx with hidden files...? I can do with password, but I just want the password to prevent decompression, and not for install, as in Button setup by Gora...

Read here
FAQ, item 2

Now I look... thanks... :lol:

Excuse my stupidity, can not find it...
:blushing:

I found it... sorry and thanks... :yes:

Edited by alfreire, 16 September 2012 - 11:10 AM.


#382
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag


Just a little typo error inside your config.txt: check it!

;!@InstallEnd@!

Cheers


There is no error in config.txt, error by copy/paste... X-D

However the error is inside your post and not corrected on this thread! :)

Enjoy!

#383
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag



Just a little typo error inside your config.txt: check it!

;!@InstallEnd@!

Cheers


There is no error in config.txt, error by copy/paste... X-D

However the error is inside your post and not corrected on this thread! :)

Enjoy!

Corrected now... :lol:
Regards and thanks again... :rolleyes:

#384
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Many thanks alfreire, also for your sharing work ! ;)

Many thanks gora for your useful help!
Regards

Edited by myselfidem, 16 September 2012 - 12:20 PM.


#385
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Other question... :whistle: How to work with spaces in name of exe file...? any trick...? Obviously I can rename the file, but I just want to learn... :lol:

RunProgram="Firefox Setup 16.0b3.exe /S"
Regards... ;-)

Edited by alfreire, 16 September 2012 - 12:52 PM.


#386
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Firefox is already an SFX file!

Silent switch is: -ms

You can use 7ZSplit.exe to open Firefox and see how it was created!

Example:

Firefox Setup 15.0.1.txt
;!@Install@!UTF-8!
Title="Mozilla Firefox"
RunProgram="setup.exe"
;!@InstallEnd@!

And you can try to add inside your customized config file:

RunProgram="\"%%T\\setup.exe\" -ms"

Edited by myselfidem, 19 September 2012 - 02:41 AM.


#387
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Firefox is already an SFX file!

Silent switch is: -ms

You can use 7ZSplit.exe to open Firefox and see how it was created!

Example:

Firefox Setup 15.0.1.txt

;!@Install@!UTF-8!
Title="Mozilla Firefox"
RunProgram="setup.exe"
;!@InstallEnd@!


And you can try to add inside your customized config file:

RunProgram="\"%%T\\setup.exe\" -ms"

Wow... i dont kwow this... :w00t: but need aswer to my question, the spaces in names... :rolleyes:
Thanks, I pay another beer for you... :lol:

#388
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Wow... i dont kwow this... :w00t: but need aswer to my question, the spaces in names... :rolleyes:
Thanks, I pay another beer for you... :lol:


I'm waiting for the first beer ! :D

Firefox seems not to be a good example, like I show you is already an SFX file!
Tip: unpack Firefox and do the same for others programs, if you want...

However filenames containing spaces must be properly enclosed in quotes.

For 'RunProgram' and all 'AutoInstall' parameters you CAN/MUST enclose the path to the executable along with its name in quotes.You CAN do so, even if the path and file name DO NOT contain spaces. You MUST do so, if the path or/and file name CONTAIN spaces. This is due to the fact that the full path is formed AFTER expanding the variables.


Edited by myselfidem, 16 September 2012 - 04:08 PM.


#389
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag


Wow... i dont kwow this... :w00t: but need aswer to my question, the spaces in names... :rolleyes:
Thanks, I pay another beer for you... :lol:


I'm waiting for the first beer ! :D

Firefox seems not to be a good example, like I show you is already an SFX file!
Tip: unpack Firefox and do the same for others programs, if you want...

However filenames containing spaces must be properly enclosed in quotes.

For 'RunProgram' and all 'AutoInstall' parameters you CAN/MUST enclose the path to the executable along with its name in quotes.You CAN do so, even if the path and file name DO NOT contain spaces. You MUST do so, if the path or/and file name CONTAIN spaces. This is due to the fact that the full path is formed AFTER expanding the variables.


Thanks again, friend... :hello:

#390
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
How to add context menus on a folder with right click to create an Archive .7z customized and an .exe file with 7-Zip and SFX modified module?

Using this reg file works fine for me!

7zSFX.reg
Windows Registry Editor Version 5.00

;  myselfidem le 30/09/2012
; Right click context menu to create an exe file or archive 7z
; 7-Zip 9.20 must be installed on your computer
; Create your folder with all files needed first
; Select your folder and right click to create your customized 7z archive or exe file 
; CAUTION: only one file .sfx and .txt and .7z must be inside the folder!
; Give the name you need to your folder to have 7z archive and exe file output names
; Available for x86 or x64 sfx modified modules
; The command prompt will be closed after 3 seconds

[HKEY_CLASSES_ROOT\Directory\shell\7zSFX]
"MUIVerb"="Create SFX file"
"NoWorkingDirectory"=""
"Icon"="C:\\Program Files\\7-Zip\\7zG.exe, 0"
"Extended"=-
[HKEY_CLASSES_ROOT\Directory\shell\7zSFX\command]
@="cmd.exe /c cd/d \"%1\" && cmd.exe /c copy /b /y *.sfx + *.txt + *.7z \"%1\".exe && move /y \"%1\".exe \"%1\" && ping /n 3 127.0.0.1 >nul"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\7zSFX]
"MUIVerb"="Create SFX file"
"NoWorkingDirectory"=""
"Icon"="C:\\Program Files\\7-Zip\\7zG.exe, 0"
"Extended"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\7zSFX\command]
@="cmd.exe /c cd/d \"%1\" && cmd.exe /c copy /b /y *.sfx + *.txt + *.7z \"%1\".exe && move /y \"%1\".exe \"%1\" && ping /n 3 127.0.0.1 >nul"

[HKEY_CLASSES_ROOT\Directory\shell\7z]
"MUIVerb"="Create Archive 7z"
"NoWorkingDirectory"=""
"Icon"="C:\\Program Files\\7-Zip\\7zG.exe, 0"
"Extended"=-
[HKEY_CLASSES_ROOT\Directory\shell\7z\command]
@="cmd.exe /c cd/d \"%1\" && cmd.exe /c 7z.exe a -t7z -mx9 -y \"%1\".7z && move /y \"%1\".7z \"%1\" && ping /n 3 127.0.0.1 >nul"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\7z]
"MUIVerb"="Create Archive 7z"
"NoWorkingDirectory"=""
"Icon"="C:\\Program Files\\7-Zip\\7zG.exe, 0"
"Extended"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\7z\command]
@="cmd.exe /c cd/d \"%1\" && cmd.exe /c 7z.exe a -t7z -mx9 -y \"%1\".7z && move /y \"%1\".7z \"%1\" && ping /n 3 127.0.0.1 >nul"

Thanks to improve this reg file!

Cheers

*Edit: updated

Attached Files


Edited by myselfidem, 30 September 2012 - 01:41 PM.


#391
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks, myselfidem... good work... :thumbup

#392
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks alfreire ;)

Enjoy!

#393
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
New 7zSFX_Shortcuts.7z updated including:

7zSFX_Install.reg | 7zSFX_Uninstall.reg | ReadMe.txt (English, French) | Image to see the shorcuts.

Thanks to improve or tell me if there is errors!

Enjoy!

*Edit: Updated and added 3 seconds to close the command prompt
Available for x86 or x64 sfx modified modules!

Attached Files


Edited by myselfidem, 30 September 2012 - 01:47 PM.


#394
MgmTest

MgmTest

    Junior

  • Members
  • Pip
  • 61 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Hi All.
Me Test Code But Show Me Error :

Error in Line 4 of configuration data:


;!@Install@!UTF-8!
GUIMode="2"
RunProgram="x86:hidcon:cmd /c \"%%T\\file_x86.cmd""
RunProgram="x64:hidcon:cmd /c \"%%T\\file_x64.cmd""
;!@InstallEnd@!

Plz Help For Fix.

#395
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Yes, gives error!

You can use 7zsd_All.sfx and this config.txt

;!@Install@!UTF-8!
GUIMode="2"
RunProgram="x86:hidcon:cmd /c file_x86.cmd"
RunProgram="x64:hidcon:cmd /c file_x64.cmd"
;!@InstallEnd@!

Or:
;!@Install@!UTF-8!
GUIMode="2"
RunProgram="x86:hidcon:cmd /c %%T\\file_x86.cmd"
RunProgram="x64:hidcon:cmd /c %%T\\file_x64.cmd"
;!@InstallEnd@!

Tested for Daemon Tools Lite and works fine!

Edited by myselfidem, 29 September 2012 - 05:11 AM.


#396
gora

gora

    Member

  • Members
  • PipPip
  • 145 posts
  • OS:Windows 7 x64
  • Country: Country Flag

;!@Install@!UTF-8!
GUIMode="2"
RunProgram="x86:hidcon:cmd /c \"%%T\\file_x86.cmd""
RunProgram="x64:hidcon:cmd /c \"%%T\\file_x64.cmd""
;!@InstallEnd@!
Plz Help For Fix.

Correct variants:
;!@Install@!UTF-8!
GUIMode="2"
RunProgram="x86:hidcon:cmd /c \"%%T\\file_x86.cmd\""
RunProgram="x64:hidcon:cmd /c \"%%T\\file_x64.cmd\""
;!@InstallEnd@!

;!@Install@!UTF-8!
GUIMode="2"
RunProgram="x86:hidcon:cmd /c file_x86.cmd"
RunProgram="x64:hidcon:cmd /c file_x64.cmd"
;!@InstallEnd@!

;!@Install@!UTF-8!
GUIMode="2"
RunProgram="x86:hidcon:file_x86.cmd"
RunProgram="x64:hidcon:file_x64.cmd"
;!@InstallEnd@!

;!@Install@!UTF-8!
GUIMode="2"
RunProgram="%%P:hidcon:file_%%P.cmd"
;!@InstallEnd@!

This variant is not correct too:
;!@Install@!UTF-8!
GUIMode="2"
RunProgram="x86:hidcon:cmd /c %%T\\file_x86.cmd"
RunProgram="x64:hidcon:cmd /c %%T\\file_x64.cmd"
;!@InstallEnd@!


#397
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Hello

P.S if i try to do it after windows is install and run wpi then it works fine to unpack and make a desktop and show over


If you want create a shorcut(s) using 7zsd.sfx modified module you can read the explanation here:

http://7zsfx.info/en/

Configuration file parameters | Shorcut

You can also see an example for Tools for 7z SFX inside Usage examples (# 5)

As example, I create an sfx file customized (using the example above) with two shorcuts on the Desktop:

config.txt
;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%ProgramFiles%\\7z SFX Tools"
OverwriteMode="2"
Shortcut="D,{%%T\\7zSD_EN.chm},{},{},{Description Modified 7z SFX module},{7z SFX module chm},{},{%%T\\7zSD_EN.chm},{0}"
Shortcut="D,{%%T\\7ZSplit.exe},{},{},{7z SFX module},{7z archive Splitter},{},{%%T\\7z.ico},{0}"
;!@InstallEnd@!

I set 7z.ico inside the archive 7z first, to have another one!

Two shorcuts are on my Desktop to open 7zSD_EN.chm and another to open 7ZSplit.exe

HTH

Edited by myselfidem, 29 September 2012 - 11:23 AM.


#398
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag

New 7zSFX_Shortcuts.7z updated including:

7zSFX_Install.reg | 7zSFX_Uninstall.reg | ReadMe.txt (English, French) | Image to see the shorcuts.

Thanks to improve or tell if there is errors!

Enjoy!

I use your first version to create sfx (with output exe name fix), one fot x86 an other for x64 sfx file...
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\7zSFX86]
"MUIVerb"="Create file 7z-sfx x86"
"NoWorkingDirectory"=""
"Icon"="C:\\Program files\\7-Zip\\7zG.exe, 0"
"Extended"=-

[HKEY_CLASSES_ROOT\Directory\shell\7zSFX86\command]
@="cmd.exe /c cd/d \"%1\" && cmd.exe /c copy /b \"C:\\Program files\\7-Zip\\7zsd_All.sfx\" + *.txt + *.7z NewSfx86.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\7zSFX86]
"MUIVerb"="Create file 7z-sfx x86"
"NoWorkingDirectory"=""
"Icon"="C:\\Program files\\7-Zip\\7zG.exe, 0"
"Extended"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\7zSFX86\command]
@="cmd.exe /c cd/d \"%1\" && cmd.exe /c copy /b \"C:\\Program files\\7-Zip\\7zsd_All.sfx\" + *.txt + *.7z NewSfx86.exe"

[HKEY_CLASSES_ROOT\Directory\shell\7zSFX64]
"MUIVerb"="Create file 7z-sfx x64"
"NoWorkingDirectory"=""
"Icon"="C:\\Program files\\7-Zip\\7zG.exe, 0"
"Extended"=-

[HKEY_CLASSES_ROOT\Directory\shell\7zSFX64\command]
@="cmd.exe /c cd/d \"%1\" && cmd.exe /c copy /b \"C:\\Program files\\7-Zip\\7zsd_All_x64.sfx\" + *.txt + *.7z NewSfx64.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\7zSFX64]
"MUIVerb"="Create file 7z-sfx x64"
"NoWorkingDirectory"=""
"Icon"="C:\\Program files\\7-Zip\\7zG.exe, 0"
"Extended"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\7zSFX64\command]
@="cmd.exe /c cd/d \"%1\" && cmd.exe /c copy /b \"C:\\Program files\\7-Zip\\7zsd_All_x64.sfx\" + *.txt + *.7z NewSfx64.exe"
7zsd_All.sfx and 7zsd_All_x64.sfx must be inside 7-zip install folder...

And this for 7zSplit:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\7zSplit]
@="7ZSplitter"
"Icon"="C:\\Program files\\7zSplit\\7z.ico"
"Position"="Top"

[HKEY_CLASSES_ROOT\*\shell\7zSplit\command]
@="\"C:\\Program files\\7zSplit\\7ZSplit.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\7zSplit]
"Path"="C:\\Program files\\7zSplit\\7ZSplit.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\7ZSplit.exe]
@="C:\\Program files\\7zSplit\\7ZSplit.exe"
"Path"="C:\\Program files\\7zSplit"

Regards and thanks... ;-)

Edited by alfreire, 02 November 2012 - 11:26 AM.


#399
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag

For test:

;!@Install@!UTF-8!
Title="Variables %7zSfxVarModulePlatform% module in %%P OS"
BeginPrompt="	Check of variables %7zSfxVarModulePlatform% module in %%P OS

 Click 'OK', variables will are shown in a console window

 Click 'OK', retaining [Shift], variables will be are saved
  to the file %SystemDrive%\\vars_%7zSfxVarModulePlatform%_module_on_%%P_OS.txt"
FinishMessage="The module %7zSfxVarModulePlatform% finished operation"
; 
SetEnvironment="cmnd=@Echo Off& Title Module - %7zSfxVarModulePlatform%, OS - %%P& Echo 	Module - %7zSfxVarModulePlatform%,	OS - %%P& Echo.& Echo Folders:&Set 7zSfxFolder& Echo.& Echo Vars:&Set 7zSfxVar& Echo %%^M=%%M& Echo %%^P=%%P& Echo %%^S=%%S& Echo %%^T=%%T& Set CommonD& Set MyDoc& Echo UserDesktop=%UserDesktop%& Echo."
RunProgram="hidcon:cmd /c Echo"
RunProgram="%%P:fm0:cmd /k %cmnd%"
AutoInstall="hidcon:cmd /c Echo"
AutoInstall="%%P:fm20:hidcon:cmd /c (%cmnd%)>%SystemDrive%\\vars_%7zSfxVarModulePlatform%_module_on_%%P_OS.txt"
GUIMode="2"
GUIFlags="2+4+8+16+32+2048+4096"
;!@InstallEnd@!
;!@Install@!UTF-8:Language:1049!
Title="Переменные %7zSfxVarModulePlatform% модуля в %%P ОС"
BeginPrompt="	Проверка переменных %7zSfxVarModulePlatform% модуля в %%P ОС

 Нажмите 'OK', переменные будет показаны в окне консоли

 Нажмите 'OK', удерживая [Shift], переменные будет
  сохранены в файл %SystemDrive%\\vars_%7zSfxVarModulePlatform%_module_on_%%P_OS.txt"
FinishMessage="Модуль %7zSfxVarModulePlatform% завершил работу"
;!@InstallEnd@:Language:1049!

Version module for test 1.6 build 2496


Finally, I undertstand your test... X-D Thanks again... ;-)

Module - x86,      OS - x64

Folders:
7zSfxFolder00=C:\Users\Administrador\Desktop
7zSfxFolder02=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
7zSfxFolder05=C:\Users\Administrador\Documents
7zSfxFolder06=C:\Users\Administrador\Favorites
7zSfxFolder07=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
7zSfxFolder08=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Recent
7zSfxFolder09=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\SendTo
7zSfxFolder11=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Start Menu
7zSfxFolder13=C:\Users\Administrador\Music
7zSfxFolder14=C:\Users\Administrador\Videos
7zSfxFolder16=C:\Users\Administrador\Desktop
7zSfxFolder19=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Network Shortcuts
7zSfxFolder20=C:\Windows\Fonts
7zSfxFolder21=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Templates
7zSfxFolder22=C:\ProgramData\Microsoft\Windows\Start Menu
7zSfxFolder23=C:\ProgramData\Microsoft\Windows\Start Menu\Programs
7zSfxFolder24=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
7zSfxFolder25=C:\Users\Public\Desktop
7zSfxFolder26=C:\Users\Administrador\AppData\Roaming
7zSfxFolder27=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
7zSfxFolder28=C:\Users\Administrador\AppData\Local
7zSfxFolder29=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
7zSfxFolder30=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
7zSfxFolder31=C:\Users\Administrador\Favorites
7zSfxFolder32=C:\Users\Administrador\AppData\Local\Microsoft\Windows\Temporary Internet Files
7zSfxFolder33=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Cookies
7zSfxFolder34=C:\Users\Administrador\AppData\Local\Microsoft\Windows\History
7zSfxFolder35=C:\ProgramData
7zSfxFolder36=C:\Windows
7zSfxFolder37=C:\Windows\system32
7zSfxFolder38=C:\Program Files (x86)
7zSfxFolder39=C:\Users\Administrador\Pictures
7zSfxFolder40=C:\Users\Administrador
7zSfxFolder41=C:\Windows\SysWOW64
7zSfxFolder42=C:\Program Files (x86)
7zSfxFolder43=C:\Program Files (x86)\Common Files
7zSfxFolder44=C:\Program Files (x86)\Common Files
7zSfxFolder45=C:\ProgramData\Microsoft\Windows\Templates
7zSfxFolder46=C:\Users\Public\Documents
7zSfxFolder47=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
7zSfxFolder48=C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
7zSfxFolder53=C:\Users\Public\Music
7zSfxFolder54=C:\Users\Public\Pictures
7zSfxFolder55=C:\Users\Public\Videos
7zSfxFolder56=C:\Windows\resources
7zSfxFolder59=C:\Users\Administrador\AppData\Local\Microsoft\Windows\Burn\Burn

Vars:
7zSfxVarCmdLine0=
7zSfxVarCmdLine1=
7zSfxVarCmdLine2=
7zSfxVarModulePlatform=x86
7zSfxVarSystemLanguage=3082
7zSfxVarSystemPlatform=x64
%%M=NewSfx86.exe
%%P=x64
%%S=C:\Users\Administrador\Desktop
%%T=C:\Users\ADMINI~1\AppData\Local\Temp\7ZipSfx.001
CommonDesktop=C:\Users\Public\Desktop
CommonDocuments=C:\Users\Public\Documents
MyDocs=C:\Users\Administrador\Documents
MyDocuments=C:\Users\Administrador\Documents
UserDesktop=C:\Users\Administrador\Desktop



#400
alfreire

alfreire

    Member

  • Members
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag
A question about InstallPath, how do I get the path "Program files" on x86 and x64...?
If I put InstallPath="%programfiles%" I get c:\Program files in x86 and c:\Program files(x86) in x64... x86: and x64: don't work with this command... :unsure:
Regards... ;-)


Wow, I'm stupid... InstallPath="C:\\Program files" :blushing: :whistle: hahahahaha X-D

Edited by alfreire, 30 September 2012 - 01:10 PM.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users



How to remove advertisement from MSFN