MSFN Forum: 7z SFX Modified Module and Tools - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 22 Pages +
  • « First
  • 16
  • 17
  • 18
  • 19
  • 20
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

7z SFX Modified Module and Tools Rate Topic: -----

#341 User is offline   Escorpiom 

  • Junior
  • Pip
  • Group: Members
  • Posts: 82
  • Joined: 18-January 09
  • OS:none specified
  • Country: Country Flag

Posted 24 June 2012 - 02:14 AM

I was wondering, we have to use a backslash when using " so it becomes \" in the config file.
But what about the single quote? Is the backslash needed also?
Example:
'
becomes
\'

I have this problem with the malwarebytes silent installer that uses a ' in the name.


#342 User is offline   gora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 09-August 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 June 2012 - 03:21 AM

The symbol ' does not require screening by symbol \

#343 User is offline   marcusj0015 

  • Member
  • PipPip
  • Group: Members
  • Posts: 154
  • Joined: 05-July 09

Posted 20 July 2012 - 10:37 PM

I'm trying to create a silent installer for my Windows 7 theme, here's my Config.txt

 ;!@Install@!UTF-8!
GUIMode="2"
Path="%Windir%\Resources\Themes\"
Progress="No"
RunProgram="InstallUxStyle.cmd"
;!@InstallEnd@!



and here's my install script.

@ECHO OFF
GOTO DETECT

:INSTALL


:DETECT
%PROCESSOR_ARCHITECTURE%
IF AMD64 GOTO AMD64
IF x86 GOTO x86
IF IA64 GOTO IA64

:AMD64
Msiexec.exe /i "%Windir%\Resources\Themes\Cloud7\UxStyle\UxStylex64.msi" /j m
GOTO END

:x86
Msiexec.exe /i "%Windir%\Resources\Themes\Cloud7\UxStyle\UxStylex86.msi" /j m
GOTO END

:IA64
Sorry, your architecture isn't supported.
GOTO END

:END
Del "%Windir%\Resources\Themes\Cloud7\UxStyle\"
Exit




I'm on Win8 atm because my win7 partition died, is this correct, and more importantly, how do I make this actually execute the scripts and programs and everything?

#344 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,230
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 July 2012 - 08:41 AM

Why use a CMD when you can use the SFX to install and detect what arch to use

 ;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%Windir%\\Resources\\Themes"
RunProgram="x64:%%T\\Cloud7\\UxStyle\\UxStylex64.msi [switches_here]"
RunProgram="x86:%%T\\Cloud7\\UxStyle\\UxStylex86.msi [switches_here]"
Delete="%%T\\Cloud7\\UxStyle"
;!@InstallEnd@!


Note: you dont need Progress=No with GUIMode=2 and you have to use two backslashes (\\) in the path(s)

Also:
x86: will only execute on 32bit
x64: will only execute on 64bit
%%T variable is equal to the InstallPath

This post has been edited by ricktendo64: 22 July 2012 - 08:47 AM


#345 User is offline   gora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 09-August 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 July 2012 - 10:51 AM

So a little shorter:
;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%Windir%\\Resources\\Themes"
RunProgram="%%P:Cloud7\\UxStyle\\UxStyle%%P.msi [switches_here]"
Delete="%%T\\Cloud7\\UxStyle"
;!@InstallEnd@!


If you need the full path for the MSI, then this:
...
RunProgram="%%P:\"%%T\\Cloud7\\UxStyle\\UxStyle%%P.msi\" [switches_here]"
...



#346 User is online   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 07:35 AM

Hello... I have a problem with %appdata% variable...
I need extract test.txt file to %appdata%\Local\Test folder, but file is extract to %appdata%\Roaming\Local\Test How I avoid this problem...?

My config file:
;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%appdata%\\Local\\Test"
;!@InstallEnd@!


I not want use complete path to extract file, because I want to use for different users...
Thanks and regards... ;-)

#347 User is offline   gora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 09-August 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 07:42 AM

On my OS (win 7 x64) %appdata% = C:\Users\gora\AppData\Roaming

You do not?

#348 User is online   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 08:02 AM

View Postgora, on 06 September 2012 - 07:42 AM, said:

On my OS (win 7 x64) %appdata% = C:\Users\gora\AppData\Roaming

You do not?

Yes, but in Appdata folder there are 3 folders: Local, LocalLow and Roaming... %appdata% variable points directly to Appdata\Roaming and I want extract file to Appdata\Local...
Thanks for your fast reply...

Attached File(s)


This post has been edited by alfreire: 06 September 2012 - 08:07 AM


#349 User is offline   gora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 09-August 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 08:07 AM

View Postalfreire, on 06 September 2012 - 08:02 AM, said:

I want extract file to Appdata\Local...

7zSfxFolder28=C:\Users\gora\AppData\Local
;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%7zSfxFolder28%\\Test"
;!@InstallEnd@!



#350 User is online   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 08:14 AM

I think I found a solution...
;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%USERPROFILE%\\AppData\\Local\\Test"
;!@InstallEnd@!

What do you think...?

#351 User is online   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 08:16 AM

View Postgora, on 06 September 2012 - 08:07 AM, said:

View Postalfreire, on 06 September 2012 - 08:02 AM, said:

I want extract file to Appdata\Local...

7zSfxFolder28=C:\Users\gora\AppData\Local
;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%7zSfxFolder28%\\Test"
;!@InstallEnd@!



But, if user are different don't work, not...?

#352 User is offline   gora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 09-August 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 08:25 AM

View Postalfreire, on 06 September 2012 - 08:16 AM, said:

But, if user are different don't work, not...?

Works very well!

#353 User is online   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 08:28 AM

View Postgora, on 06 September 2012 - 08:25 AM, said:

View Postalfreire, on 06 September 2012 - 08:16 AM, said:

But, if user are different don't work, not...?

Works very well!

I don't understand this 7zSfxFolder28=C:\Users\gora\AppData\Local How to use it...?

This post has been edited by alfreire: 06 September 2012 - 08:31 AM


#354 User is offline   gora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 09-August 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 08:48 AM

View Postalfreire, on 06 September 2012 - 08:28 AM, said:

How to use it...?

View Postgora, on 06 September 2012 - 08:07 AM, said:

;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%7zSfxFolder28%\\Test"
;!@InstallEnd@!



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

#355 User is online   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 09:02 AM

Too complicated for me... :wacko: :blink: another question, is there any way to differentiate between Win XP and Win 7, as between x86 and x64 (x86: or x64:)...? (tipe win7: winXP: or similar)
Regards an thanks by your help, I appreciate... :rolleyes:

This post has been edited by alfreire: 06 September 2012 - 09:02 AM


#356 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 September 2012 - 09:26 AM

View Postalfreire, on 06 September 2012 - 08:28 AM, said:

View Postgora, on 06 September 2012 - 08:25 AM, said:

View Postalfreire, on 06 September 2012 - 08:16 AM, said:

But, if user are different don't work, not...?

Works very well!

I don't understand this 7zSfxFolder28=C:\Users\gora\AppData\Local How to use it...?

I think %7zSfxFolder28% is a new variable inside the SFX modified module, to do this job !

Cheers

#357 User is online   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 09:34 AM

View Postmyselfidem, on 06 September 2012 - 09:26 AM, said:

View Postalfreire, on 06 September 2012 - 08:28 AM, said:

View Postgora, on 06 September 2012 - 08:25 AM, said:

View Postalfreire, on 06 September 2012 - 08:16 AM, said:

But, if user are different don't work, not...?

Works very well!

I don't understand this 7zSfxFolder28=C:\Users\gora\AppData\Local How to use it...?

I think %7zSfxFolder28% is a new variable inside the SFX modified module, to do this job !

Cheers

Thanks, friend... :hello:

#358 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 September 2012 - 09:36 AM

Reading more carefully this thread we can find more explainations:

http://www.msfn.org/...post__p__940921

This post has been edited by myselfidem: 06 September 2012 - 09:37 AM


#359 User is online   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 09:59 AM

View Postmyselfidem, on 06 September 2012 - 09:36 AM, said:

Reading more carefully this thread we can find more explainations:

http://www.msfn.org/...post__p__940921

I just found it in OSZONE by gora...

 The list of variables that can be used in the configuration file of the modified module.

 System variables ==================== ==================
 SystemDrive = C:
 - HOMEDRIVE = C:
 ALLUSERSPROFILE = C: \ Documents and Settings \ All Users
 USERPROFILE = C: \ Documents and Settings \ gora
 - APPDATA = C: \ Documents and Settings \ gora \ Application Data
 - TEMP = C: \ DOCUME ~ 1 \ gora \ LOCALS ~ 1 \ Temp
 - TMP = C: \ DOCUME ~ 1 \ gora \ LOCALS ~ 1 \ Temp
 ProgramFiles = C: \ Program Files
 CommonProgramFiles = C: \ Program Files \ Common Files
 SystemRoot = C: \ WINDOWS
 windir = C: \ WINDOWS
 ComSpec = C: \ WINDOWS \ system32 \ cmd.exe
 Path = C: \ WINDOWS \ system32; C: \ WINDOWS; C: \ WINDOWS \ System32 \ Wbem
 - HOMEPATH = \ Documents and Settings \ gora
 COMPUTERNAME = PENTUX
 FP_NO_HOST_CHECK = NO
 - LOGONSERVER = \ \ PENTUX
 - NUMBER_OF_PROCESSORS = 1
 - OS = Windows_NT
 * PATHEXT =. COM;. EXE;. BAT;. CMD;. VBS;. VBE;. JS;. JSE;. WSF;. WSH
 - PROCESSOR_ARCHITECTURE = x86
 - PROCESSOR_IDENTIFIER = x86 Family 6 Model 23 Stepping 7, GenuineIntel
 - PROCESSOR_LEVEL = 6
 - PROCESSOR_REVISION = 1707
 PROMPT = $ P $ G
 - USERDOMAIN = PENTUX
 - USERNAME = gora

 ================== Variables that exist only when you use the ====================
 7zSfxFolder35 = C: \ Documents and Settings \ All Users \ Application Data
 7zSfxFolder22 = C: \ Documents and Settings \ All Users \ Main Menu
 7zSfxFolder23 = C: \ Documents and Settings \ All Users \ Start Menu \ Programs
 7zSfxFolder24 = C: \ Documents and Settings \ All Users \ Start Menu \ Programs \ Startup
 7zSfxFolder47 = C: \ Documents and Settings \ All Users \ Start Menu \ Programs \ Administrative Tools
 7zSfxFolder46 = C: \ Documents and Settings \ All Users \ Documents
 CommonDocuments = C: \ Documents and Settings \ All Users \ Documents
 7zSfxFolder55 = C: \ Documents and Settings \ All Users \ Documents \ My Videos
 7zSfxFolder54 = C: \ Documents and Settings \ All Users \ Documents \ My Pictures
 7zSfxFolder53 = C: \ Documents and Settings \ All Users \ Documents \ My Music
 7zSfxFolder31 = C: \ Documents and Settings \ All Users \ Favorites
 7zSfxFolder25 = C: \ Documents and Settings \ All Users \ Desktop
 CommonDesktop = C: \ Documents and Settings \ All Users \ Desktop
 7zSfxFolder45 = C: \ Documents and Settings \ All Users \ Templates

 - 7zSfxFolder40 = C: \ Documents and Settings \ gora
 7zSfxFolder26 = C: \ Documents and Settings \ gora \ Application Data
 7zSfxFolder33 = C: \ Documents and Settings \ gora \ Cookies
 7zSfxFolder28 = C: \ Documents and Settings \ gora \ Local Settings \ Application Data
 - 7zSfxFolder59 = C: \ Documents and Settings \ gora \ Local Settings \ Application Data \ Microsoft \ CD Burning
 7zSfxFolder34 = C: \ Documents and Settings \ gora \ Local Settings \ History
 7zSfxFolder32 = C: \ Documents and Settings \ gora \ Local Settings \ Temporary Internet Files
 7zSfxFolder19 = C: \ Documents and Settings \ gora \ NetHood
 7zSfxFolder27 = C: \ Documents and Settings \ gora \ PrintHood
 7zSfxFolder08 = C: \ Documents and Settings \ gora \ Recent
 7zSfxFolder09 = C: \ Documents and Settings \ gora \ SendTo
 7zSfxFolder11 = C: \ Documents and Settings \ gora \ Main Menu
 7zSfxFolder02 = C: \ Documents and Settings \ gora \ Start Menu \ Programs
 7zSfxFolder07 = C: \ Documents and Settings \ gora \ Start Menu \ Programs \ Startup
 7zSfxFolder06 = C: \ Documents and Settings \ gora \ Favorites
 7zSfxFolder05 = C: \ Documents and Settings \ gora \ My Documents
 MyDocs = C: \ Documents and Settings \ gora \ My Documents
 MyDocuments = C: \ Documents and Settings \ gora \ My Documents
 - 7zSfxFolder39 = C: \ Documents and Settings \ gora \ My Documents \ My Pictures
 - 7zSfxFolder13 = C: \ Documents and Settings \ gora \ My Documents \ My Music
 - 7zSfxFolder00 = C: \ Documents and Settings \ gora \ Desktop
 7zSfxFolder16 = C: \ Documents and Settings \ gora \ Desktop
 UserDesktop = C: \ Documents and Settings \ gora \ Desktop
 7zSfxFolder21 = C: \ Documents and Settings \ gora \ Templates
 7zSfxFolder38 = C: \ Program Files
 7zSfxFolder43 = C: \ Program Files \ Common Files
 7zSfxFolder36 = C: \ WINDOWS
 7zSfxFolder20 = C: \ WINDOWS \ Fonts
 7zSfxFolder56 = C: \ WINDOWS \ resources
 7zSfxFolder37 = C: \ WINDOWS \ system32
 7zSfxFolder41 = C: \ WINDOWS \ system32

 Note:
 1 Variables marked "-" in the beginning of the line, do not exist for the T13
 2 user (in this example, "gora") on T13 does not exist and is used instead everywhere "Default User"
 Three variables marked with "*" at the start line for the T13 has a slightly different meaning (PATHEXT =. COM;. EXE;. BAT;. CMD;. VBS;. JS;. WS)
 4 Variables associated with "iron" computer user or computer you will have a different value. 

------- 


I hope not to bother posting it here, if so I apologize in advance...


View Postgora, on 06 September 2012 - 08:48 AM, said:

Version module for test 1.6 build 2496

I not find this version here http://7zsfx.info/en/ last version is 1.5 beta (build 2478) Where I can find it...?

View Postgora, on 06 September 2012 - 08:07 AM, said:

View Postalfreire, on 06 September 2012 - 08:02 AM, said:

I want extract file to Appdata\Local...

7zSfxFolder28=C:\Users\gora\AppData\Local
;!@Install@!UTF-8!
GUIMode="2"
InstallPath="%7zSfxFolder28%\\Test"
;!@InstallEnd@!



Now I understand... :whistle:

This post has been edited by alfreire: 06 September 2012 - 10:09 AM


#360 User is offline   gora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 09-August 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 September 2012 - 10:30 PM

View Postalfreire, on 06 September 2012 - 09:59 AM, said:

I not find this version here http://7zsfx.info/en/ last version is 1.5 beta (build 2478) Where I can find it...?

Upss ... Oleg has not announced a version 1.6.2496 of modules, but they are included in the latest version of "Button ..."

Share this topic:


  • 22 Pages +
  • « First
  • 16
  • 17
  • 18
  • 19
  • 20
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

5 User(s) are reading this topic
0 members, 5 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy