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
  • 15
  • 16
  • 17
  • 18
  • 19
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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

#321 User is offline   gora 

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

Posted 28 April 2012 - 06:14 AM

The module checks syntax of a design:
Parameter_name="value_parameter"

In "value_parameter" there should not be double quotes without a slash.
The module doesn't check even/odd number of double quotes with slashes in "value_parameter".
The rest in "value_parameter" the user should supervise all.

The module can't replace a brain of the user! :no:


#322 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 28 April 2012 - 07:08 AM

View Postgora, on 28 April 2012 - 06:14 AM, said:

In "value_parameter" there should not be double quotes without a slash.
The module doesn't check even/odd number of double quotes with slashes in "value_parameter"...

This explains everything.
I guess I was expecting too much after receiving syntax error messages in the past which helped me to correct mistakes I had made.

I guess syntax highlighting for \" would be nice in the text editor.

Thanks again, gora. You have helped me to understand the working of the module a bit better.

#323 User is offline   gora 

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

Posted 28 April 2012 - 07:12 AM

I use EmEditor with highlighting. It looks so

#324 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 28 April 2012 - 03:14 PM

Yes, something like that would be nice to use with config.txt.

#325 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 11 May 2012 - 09:23 PM

2 Oleg_Sch or gora,

Is %7zSfxFolder43% equivalent to:

%PROGRAMFILES%\Common Files

or

C:\Program Files\Common Files

??

#326 User is offline   gora 

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

Posted 11 May 2012 - 11:52 PM

Read here, please
Bonus :)

This post has been edited by gora: 12 May 2012 - 12:00 AM


#327 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 12 May 2012 - 12:46 AM

Double thanks, gora!

#328 User is offline   gora 

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

Posted 13 May 2012 - 04:54 AM

Modules, help file, site updated

1.5 beta (build 2478) 05/10/12

1.6 develop (build 2478) 05/10/12
+ Support for encryption

#329 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 21 May 2012 - 05:19 AM

2 Oleg_Sch or gora,

Question:

What is the command line to add two languages in a 7zSFX with many language sections?

I have tried:
7zSFX.exe -sfxlang:nnnn:mmmm
7zSFX.exe -sfxlang:nnnn+mmmm
7zSFX.exe -sfxlang:nnnn;mmmm
7zSFX.exe -sfxlang:nnnn,mmmm

Is it possible?


Next Question,
I'm having problems with:

\"%^PROGRAMFILES%\\Some Software Name\"


I want:

%PROGRAMFILES%\Some Software Name

I don't want:

C:\Program File\Some Software Name

What I am getting:

%^PROGRAMFILES%\Some Software Name

Purpose:
I am trying to add a Type REG_EXPAND_SZ value to the registry.

How do I get the string name returned instead of the string value for %PROGRAMFILES% ?

Thanks.

This post has been edited by visegrip: 21 May 2012 - 05:20 AM


#330 User is offline   gora 

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

Posted 21 May 2012 - 08:27 AM

1 No. It is impossible. Syntax of a key:
-sfxlang:xxxx
The key of sfxlang can be only one in CL

2 Export your key to the.reg file and bring him here. I convert it to a line of a config

This post has been edited by gora: 21 May 2012 - 08:28 AM


#331 User is offline   gora 

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

Posted 21 May 2012 - 01:02 PM

Modules, help file, site updated

#332 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 21 May 2012 - 03:28 PM

gora,

OK, thanks.

I will continue working on 2, and if I can't solve it, I will post a sample reg entry here.

#333 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 22 May 2012 - 07:45 AM

View Postgora, on 21 May 2012 - 08:27 AM, said:

2 Export your key to the.reg file and bring him here. I convert it to a line of a config


gora,
From command prompt run something like this:
reg add "HKCU\SOFTWARE\Some Software Name" /v Location /t REG_EXPAND_SZ /d "%%SYSTEMDRIVE%%\Program Files\Some Software Name" /f


Look at the resulting entry in the registry.

I want the same result when run from the config.txt.

The CHM manual says to get the variable name instead of its value use:

%^SYSTEMDRIVE%

But I can't get the correct syntax yet.

#334 User is offline   gora 

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

Posted 22 May 2012 - 09:43 AM

View Postvisegrip, on 22 May 2012 - 07:45 AM, said:

The CHM manual says to get the variable name instead of its value use:

%^SYSTEMDRIVE%
You do not carefully read the manual

Quote

Если в текстовых параметрах необходимо указать имя переменной, а не ее значение, то переменную нужно записать следующим образом:

%^PROGRAMFILES%
You see how bad that is not English manual! ;)


View Postvisegrip, on 22 May 2012 - 07:45 AM, said:

But I can't get the correct syntax yet.
A very severe case...
SetEnvironment="Var=%%^SYSTEMDRIVE%%"
RunProgram="hidcon:cmd /V:ON /c Set Var=%Var:^=%& Reg Add \"HKCU\\Software\\Some Software Name\" /v \"Location\" /t REG_EXPAND_SZ /d \"!Var!\\Program Files\\Some Software Name\" /f"



#335 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

  Posted 22 May 2012 - 03:21 PM

Wow, thanks gora--I would not have got that.

Seems like I must read the manual more carefully.

Now I see one reason you often include a batch or cmd file in many of your releases.

#336 User is offline   odar 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 02-April 12
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 22 May 2012 - 07:05 PM

for 7zsd
create a folder and context menu with batch file for create sfx module
http://www.axifile.com/en/D101DE0571 or
http://rapidgator.ne...n7-new.exe.html
in this packet sfx container module 7zsd with resources hacker and cmenu and extraico
extract automatic in %programfiles%\7zsfx
into folder 7zsfx file .bat
with cmenu create context menu for .bat file
file bat compress folder in .7z and create file configsfx.txt for 7zsfx
open file configsfx.txt during process for modifier file when closing continue process
and create sfx with name folder and lunch file.exe
with extraico estract ico file from .exe and with reshacker change ico in the file sfx
problem cmenu dont work in win 7
don't create menu context for this utility

This post has been edited by odar: 06 July 2012 - 10:07 AM


#337 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 23 May 2012 - 01:50 AM

View Postgora, on 22 May 2012 - 09:43 AM, said:

SetEnvironment="Var=%%^SYSTEMDRIVE%%"
RunProgram="hidcon:cmd /V:ON /c Set Var=%Var:^=%& Reg Add \"HKCU\\Software\\Some Software Name\" /v \"Location\" /t REG_EXPAND_SZ /d \"!Var!\\Program Files\\Some Software Name\" /f"



Interesting...

On my system I had to use:
SetEnvironment="Var=%^SYSTEMDRIVE%"


instead of:

SetEnvironment="Var=%%^SYSTEMDRIVE%%"


for it to work correctly.

#338 User is offline   gora 

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

Posted 23 May 2012 - 01:59 AM

1 What is your system?
2 Shows two lines, rather than one, please.

#339 User is offline   visegrip 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 19-October 08

Posted 23 May 2012 - 06:36 AM

1. XP SP3 x86

2.
SetEnvironment="Var=%^SYSTEMDRIVE%"
RunProgram="hidcon:cmd /V:ON /c Set Var=%Var:^=%& Reg Add \"HKCU\\Software\\Some Software Name\" /v \"Location\" /t REG_EXPAND_SZ /d \"!Var!\\Program Files\\Some Software Name\" /f"


Result for data in that registry key:

%SYSTEMDRIVE%\Program Files\Some Software Name

If I use your two lines, I get this for data:

%%SYSTEMDRIVE%%\Program Files\Some Software Name

which seems odd.
I hope that helps. Let me know if you need any more information.

#340 User is offline   gora 

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

Posted 23 May 2012 - 08:20 AM

2 visegrip
Yes. It's my fault. I did the code to add this variable in the double signs %
You have finished it and now it's your code. Congratulations! :)

Simpler variant:
RunProgram="hidcon:Reg Add \"HKCU\\Software\\Some Software Name\" /v \"Location\" /t REG_EXPAND_SZ /d \"\"%\"SYSTEMDRIVE\"%\"\\Program Files\\Some Software Name\" /f"


This post has been edited by gora: 23 May 2012 - 08:41 PM


Share this topic:


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

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



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