MSFN Forum: 7z Self extracting - 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
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

7z Self extracting SFX for installers doen not work on WinXP pro X86 Rate Topic: -----

#21 User is offline   ipen 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 09-May 12
  • OS:XP Pro x86
  • Country: Country Flag

Posted 13 June 2012 - 08:15 AM

when using the "7zsd.sfx" from

7zSD
1.5 beta (build 2478)
May 10, 2012
Modified 32-bit module (for LZMA compression method that 7-Zip uses by default).
(downloaded from 7-zip.info)


and trying to run it product - it gives me an error "Could not read SFX configuration or configuration Not found".

When using "7zsd.sfx" from 7z920_extra (downloaded from 7-zip.org) it works but only on win7.

when using "7zsd.sfx" from 7zSD 1.4.3 Release (build 2367) January 21, 2012 (downloaded from 7-zip.info)
it still gives me this
"Could not read SFX configuration or configuration Not found"

Please help!


#22 User is offline   myselfidem 

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

Posted 13 June 2012 - 09:24 AM

Maybe you need to install Windows Installer 4.5 for Windows XP, for your "MySetup.msi" file?:

Windows Installer 4.5

http://en.wikipedia....ndows_Installer

This post has been edited by myselfidem: 13 June 2012 - 09:27 AM


#23 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,244
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 13 June 2012 - 10:09 AM

That's what we have been TRYING to tell you all along!

Quote

Modified 32-bit module (for LZMA compression method that 7-Zip uses by default).
..and as far as the OTHER one mentioned

Quote

(myselfidem said) But, if you need for both architecture: 32-bit and 64-bit you need to use 7zsd_All.sfx module
Not really... The set you are getting contains 2 help files and "7zsplit" - the remainder are EXACTLY like the "Extra" package. Read this -

Quote

Contains 12 modified modules (six 32-bit modules and six 64-bit ones). There is a separate module for each compression method (LZMA, LZMA2, Deflate, PPMd), as well as universal modules that support any of these methods. Additionally, there are modules with extra dialogs and a banner.
In other words, there is SPECIFICALLY an x86 and an x64 version. "All" means ALL methods (EITHER an x86 OR x64). The "Basic" one (first download "7zsd") is EXACTLY "7zsd_LZMA.sfx" that's inside the package. THAT one is JUST 32-bit for LZMA method (which you have been TRYING to do). The "Tools" one is just the COMPLETE package, OK???

...and do the Create of the SFX.EXE the way I showed you (the "copy" command).

Can I assume that your Windows7 AND WindowsXP are BOTH x86???

edit - In MY example, I used the BETA version from the link given to you. AND the suggestion given above MIGHT be your problem! You MUST use the CORRECT MSIEXEC for the METHOD YOU BUILT THE MSI PACKAGE!!!! You CANNOT build an MSI with a NEWER version and Install it using an OLDER MSIEXEC!

note: use the "7zsplit" program on your "built" EXE - see if you REALLY have it built correctly. Again, Works fine for me (x86)...

This post has been edited by submix8c: 13 June 2012 - 10:15 AM


#24 User is offline   ipen 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 09-May 12
  • OS:XP Pro x86
  • Country: Country Flag

Posted 14 June 2012 - 12:30 AM

Yes - the commad i use is exactlly like yours.

I tried installing Windows Installer 4.5. Did not help.

Can you please just post the link to what you think is the relevant SFX version - because i am very confused by now...

#25 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,244
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 14 June 2012 - 08:39 AM

"C:\Program Files\7-Zip\7z.exe" a %zipFileName% %allFromOutputDir%
copy /b "C:\Program Files\7-Zip\7zSD_LZMA.sfx" + config.txt + %zipFileName% %outputFile%

where :
%zipFileName% = "MySetup.7z"
%allFromOutputDir% = all of the items that currently exists in the output dir of the setup project. (bin\release\...)
%outputFile% = "MySFX.exe"

this is the config content :
;!@Install@!UTF-8!
RunProgram="setup.exe"
GUIMode="2"
;!@InstallEnd@!

Contents of %allFromOutputDir% (after which the zip contains these items):
- setup.exe (OBVIOUSLY WRITTEN IN-HOUSE TO CHECK/INSTALL)
- "WindowsInstaller3_1" folder (pre - requisite)
--- WindowsInstaller-KB893803-v2-x86.exe (FILE WITHIN FOLDER!!!)
- "DotNetFX35" folder (another pre-requisite)
--- dotNetFx35setup.exe (FILE WITHIN FOLDER!!!)
- MySetup.msi (NOT WITHIN A FOLDER!!!)
===== The Actual SFX Execution =====
<snip>
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
<snip>
Running checks for command 'DotNetFX35\dotNetFx35setup.exe'
(My Note: This is the Bootstrapper and NOT the "Full", correct?)
(http://www.careerrid...pplication.aspx)
<snip>
Launching Application.
Running command 'C:\WINDOWS\system32\msiexec.exe' with arguments ' -I "C:\DOCUME~1\...\LOCALS~1\Temp\7zS909.tmp\MySetup.msi" '
-----
Result (according to Your Notes):
"This installation package could not be opened..."
(My Note: OBVIOUSLY a result of NOT FINDING THE MSI FILE!)
(My Note: You APPARENTLY have used "\...\" to keep us from seeing UserID?)
-OR-
"Could not read configuration or configuration not found".
(My Note: OBVIOUSLY because CONFIG.TXT is NOT properly included!)
===== Your Comments on Failures =====
The setup alone does work on both OS... (XP and win 7).

Only after creating SFX and using it - it does not work on win XP.
And yes - the setup pre-requisite is to install .net frame work.
(My Note - Your are programmatically checking MS-Installer+DotNET)

On my comuter which OC is win7 - it works good!
(My Note: You are referring to the SFX Install.)
But when i try to run it on WinXP pro x86
i get this error after extraction :
"This installation package could not be opened..."
===== From 7-Zip ORG files =====
Failure #1 -
create the SFX like this :
"C:\Program Files\7-Zip\7z.exe" a %zipFileName% %allFromOutputDir%
copy /b "C:\Program Files\7-Zip\7zS.sfx" + config.txt + %zipFileName% %outputFile%
When running its product - it cause this error :
"This installation package could not be opened..."

Failure #2 -
or like this
"C:\Program Files\7-Zip\7z.exe" a %zipFileName% %allFromOutputDir%
copy /b "C:\Program Files\7-Zip\7zSD_LZMA.sfx" + config.txt + %zipFileName% %outputFile%
When running its product - it cause this error :
"Could not read configuration or configuration not found".

Failure #3 -

Quote

I use "7zsd.sfx" from 7zsd_tools_150_2100.exe
Is it the correct version for my needs ?
- run self extructed installer
- run on win XP and win 7

Quote

when using the "7zsd.sfx" from

7zSD
1.5 beta (build 2478)
May 10, 2012
Modified 32-bit module (for LZMA compression method that 7-Zip uses by default). (downloaded from 7-zip.info)

and trying to run it product - it gives me an error "Could not read SFX configuration or configuration Not found".

When using "7zsd.sfx" from 7z920_extra (downloaded from 7-zip.org) it works but only on win7.

when using "7zsd.sfx" from 7zSD 1.4.3 Release (build 2367) January 21, 2012 (downloaded from 7-zip.info)
it still gives me this
"Could not read SFX configuration or configuration Not found"

Please help!

1 - DO NOT USE THAT ONE!!! USE THE FIRST ONE (the BETA one!!!)
2 - OR DON'T USE IT, BUT USE THE 7-ZIP ORG ONE
3 - PLEASE NOTE! MSIEXEC CANNOT FIND THE MSI!!!
3a - TRY to put it in a SUBFOLDER and see if that works
3b - NOTE that when you RUN the MSIinstaller AND/OR the DotNETinstaller that they CREATE A TEMP FOLDER ON THE ROOT OF THE LARGEST FREE-SPACE DRIVE!
Your Application is NOT doing that! It is INVOKING the MSIEXEC.EXE Program!
The question is... IS YOUR SETUP.EXE CORRECTLY PASSING THE PATH TO THE MSI FILE???
-To test this - WHEN it Fails with "This installation package could not be opened..." NAVIGATE in EXPLORER to the TEMP folder and SEE IF IT IS INDEED THERE!

Bottom Line - We have NO CLUE how you CREATED the SETUP.EXE PROJECT!!!
(My Note - MAYBE you need to use DOUBLE-QUOTES?)

Go BACK here and read CLOSELY the "Configuration Parameters" section. YOU NEED TO CORRECTLY PASS THE PATH TO THE MSI! PERIOD!!! FORCE it to "somewhere"!!!

This post has been edited by submix8c: 14 June 2012 - 08:42 AM


#26 User is offline   myselfidem 

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

Posted 15 June 2012 - 02:47 PM

View Postipen, on 10 June 2012 - 01:47 AM, said:

Hi,
Well let me better explain :


"C:\Program Files\7-Zip\7z.exe" a %zipFileName% %allFromOutputDir%
copy /b "C:\Program Files\7-Zip\7zSD_LZMA.sfx" + config.txt + %zipFileName% %outputFile%

where :
%zipFileName% = "MySetup.7z"
%allFromOutputDir% = all of the items that currentlly exists in the output dir of the setup project. (bin\release\...)
%outputFile% = "MySFX.exe"


In addition to supervision given by submix8c, give the same name inside config.txt you use with 7zip:

config.txt
;!@Install@!UTF-8!
GUIMode="2"
RunProgram="MySFX.exe"
;!@InstallEnd@!




*Edit:
Maybe you can try like this (example): without using %zipFileName% !

config.bat
@echo off
SETLOCAL ENABLEEXTENSIONS
echo.

rem All files needed for drivers 32 or 64-bit OS are inside the folder Scan3970: 
rem C:\Program Files\7-Zip\Scan3970  (or another partition) 
rem D:\Program Files\7-Zip\Scan3970

rem My folder with all my files needed
set AllFileOutputDir=Scan3970

rem MySFX.exe file Name
set OutPutFile=Scan3970.exe

cd /d %~dp0
if exist "%AllFileOutputDir%.7z" del /f /q "%AllFileOutputDir%.7z"
echo.

cd /d "%~dp0%AllFileOutputDir%"

"%~dp07z.exe" a -t7z -mx9 -y "%~dp0%AllFileOutputDir%" 
copy /b /y "%~dp07zsd.sfx" + "%~dp0Scan3970.txt" + "%~dp0%AllFileOutputDir%.7z" "%~dp0%OutPutFile%"
 
pause


This post has been edited by myselfidem: 17 June 2012 - 11:47 AM


#27 User is offline   ipen 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 09-May 12
  • OS:XP Pro x86
  • Country: Country Flag

Posted 28 June 2012 - 06:52 AM

OK,

1) Why did you decied that " MySetup.msi (NOT WITHIN A FOLDER!!!)" ???
It is in the folder and when checking the zip created after
"C:\Program Files\7-Zip\7z.exe" a %zipFileName% %allFromOutputDir%"
the MSI is present!!!

2) both msi and exe are created from a simple visual studio .net, C# setup project. Framework 3.5..
No problem with that part at all!
More over - and that is the point you keep missing - The self extracting zip works just fine (and run the MSI and all) when i run it on win 7 (extract exe and MSI and execute it all!!!).
The same self extracting zip - will not work on win XP.

SO ???

This post has been edited by ipen: 28 June 2012 - 07:00 AM


#28 User is offline   myselfidem 

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

Posted 28 June 2012 - 08:30 AM

View Postipen, on 28 June 2012 - 06:52 AM, said:

Why did you decied that " MySetup.msi (NOT WITHIN A FOLDER!!!)" ???
It is in the folder and when checking the zip created after
"C:\Program Files\7-Zip\7z.exe" a %zipFileName% %allFromOutputDir%"
the MSI is present!!!

Because, it seems on Windows XP a subfolder is created inside %temp% and the installation fails.
And why did you decide to set "MySetup.msi" inside a folder first?

Like I suggested inside my last post your "MySetup.msi" is present also but inside the same archive 7z !

Have you tried what submix8c asked (DO NOT CLOSE THE message window!):

submix8c said:

-To test this - WHEN it Fails with "This installation package could not be opened..." NAVIGATE in EXPLORER to the TEMP folder and SEE IF IT IS INDEED THERE!


Thanks to let us know!

This post has been edited by myselfidem: 28 June 2012 - 08:48 AM


#29 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,244
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 28 June 2012 - 09:14 AM

OK... let's get this straight...

Your "built" in VisualStudio "SETUP.EXE" is POINTING AT THE WRONG PLACE (folder) !!! Got it? It's the SETUP.EXE!!!

Quote

Launching Application.
Running command 'C:\WINDOWS\system32\msiexec.exe' with arguments ' -I "C:\DOCUME~1\...\LOCALS~1\Temp\7zS909.tmp\MySetup.msi" '
-----
Result (according to Your Notes):
"This installation package could not be opened..."
(My Note: OBVIOUSLY a result of NOT FINDING THE MSI FILE!)
(My Note: You APPARENTLY have used "\...\" to keep us from seeing UserID?)
Please NOTICE that "Documents and Settings" are in an ENTIRELY DIFFERENT PLACE between XP and Win7!!! OK???

Microsoft USUALLY creates a SFX package that GENERATES a COMMON FOLDER NAME in the ROOT directory of the "Largest Free Space HDD" BEFORE the "Setup" program is executed and SETUP uses THAT folder name, UNLIKE 7ZIP!!!

Either CHANGE THE SETUP.EXE program
-OR-
CHANGE THE CONFIG.TXT to create a SPECIFIC folder in the ROOT and Run from THERE!

Did you even READ the DETAILS on parameters in the LINKS given? GO DO SOME READING and TRY it.... DUDE!!! :realmad:

edit - and the suggestion of using a CMD (EXAMPLE GIVEN) was to "beat" it! Learn a little CMD Scripting as well...

edit2 - a little info on Folder Names / Junction Points

This post has been edited by submix8c: 01 July 2012 - 11:13 AM


#30 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,244
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 04 July 2012 - 12:35 PM

Update -

VS2005 vs VS2008 a bug!
Reference is to IExpress as opposed to 7Zip, but the problem appears to be the same. Just go to the last post in the link and follow the two other post.

#31 User is offline   odar 

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

Posted 07 July 2012 - 10:45 PM

I created a zip which after extraction run the "setup.exe" .
this is the command lines in the batch file :

"C:\Program Files\7-Zip\7z.exe" a %zipFileName% %allFromOutputDir% (creating a 7z zip)
copy /b "C:\Program Files\7-Zip\7zS.sfx" -y + MCTSFXConfig.txt + %zipFileName% %outputFile% (Creating self extracting zip)

re:
variabili

"%ProgramFiles%\7-Zip\7z.exe" a -t7z "%zipFileName%" -oa "%allFromOutputDir%" (creating a 7z zip)
copy /b "%programfiles%\7-Zip\7zS.sfx" -y + "MCTSFXConfig.txt "+ "%zipFileName%" "%outputFile%" (Creating self extracting zip)

http://rapidgator.ne...-64-MI.exe.html

moduli 7zsd + file.bat + reshaker + extraico + cmenu
video tutorial
http://youtu.be/fdRV6KzjQpU

This post has been edited by odar: 30 August 2012 - 09:30 PM


#32 User is offline   odar 

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

Posted 07 July 2012 - 11:03 PM

;!@Install@!UTF-8!
Title="7-Zip 4.00"
BeginPrompt="Do you want to install the 7-Zip 4.00?"
ExecuteFile="7zip.msi"
;!@InstallEnd@!


;!@Install@!UTF-8!
Title="7-Zip 4.01 Update"
BeginPrompt="Do you want to install the 7-Zip 4.01 Update?"
ExecuteFile="msiexec.exe"
ExecuteParameters="/i 7zip.msi REINSTALL=ALL REINSTALLMODE=vomus"
;!@InstallEnd@!

for file . msi

---------------------------------------------
bat file drag & drop
----------------------------------------
create a folder 7zsfx in %programfiles%
in folder reshaker ,extraico,file bat
create shortcut file bat in send to
----------------------------------------------------
file bat
___________________________________________________--
set pp=%1
cd %programfiles%\7zsfx\temp"
del /s/q "%programfiles%\7zsfx\temp"
rd\\.\ "%programfiles%\7zsfx\temp" /s/q
md "%programfiles%\7zsfx\temp"
rem --------------------------------------------
@echo off
cls
title creates sfx that executes a .bat file
rem -----------------------------------------
for /f "useback tokens=*" %%a in ('%pp%') do @set gff=%%~a
%~d1
cd "%~dp1"
cd "%~f1"
if [%errorlevel%] equ [1] @set fil=&goto parr
echo compressing file
cd..
set fil=\**
:parr
echo %errorlevel% errorlevel
set cuu=%cd%
rem ----------------------------------------------------------------
cls
@echo .
@echo ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
@echo ±± ±±
@echo ±± creates sfx that executes a hidden .bat file ±±
@echo ±± ±±
@echo ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
@echo .
rem ----------------------------------------------------------
set /p as="select sfx name without extension :"
set /p gtr="select file .bat to be executed afterwards :"
:pass
set bn=.7z
set sd=.exe
set cv=%as%%fv%%bn%
set sx=%as%%fv%%sd%
set sz=%as%%fv%
set/a vb=%vb%+1
set fv=_%vb%
set co=%cl:~0,-4%
set pr=%programfiles%
set us=%username%
set usp=%userprofile%
set dc=.
if exist "%~dp1%sx%" goto pass
if exist "%~dp1%cv%" goto pass
echo creating %sx% wait....
rem -------------------------------------------------
rem ----------------------------------------------------------------
echo ;!@Install@!UTF-8!>"%programfiles%\7zsfx\temp\configsfx.txt"
echo InstallPath="%%temp%%\\%sz%">>"%programfiles%\7zsfx\temp\configsfx.txt"
echo OverwriteMode="0">>"%programfiles%\7zsfx\temp\configsfx.txt"
echo ExecuteFile="hidcon:%gtr%">>"%programfiles%\7zsfx\temp\configsfx.txt"
echo GUiMode="2">>"%programfiles%\7zsfx\temp\configsfx.txt"
echo Process="no">>"%programfiles%\7zsfx\temp\configsfx.txt"
echo Delete="%%%%T">>"%programfiles%\7zsfx\temp\configsfx.txt"
echo ;!@InstallEnd@!>>"%programfiles%\7zsfx\temp\configsfx.txt"
rem ---------------------------------------------------------------
start/wait "" "notepad.exe" ""%programfiles%\7zsfx\temp\configsfx.txt""
copy "%programfiles%\7zsfx\temp\configsfx.txt" "%gff%" /v/y
rem -----------------------------------------------------------------
%~d1
cd "%~dp1"
7za a -t7z "%cv%" -oa "%gff%%fil%"
echo %pp%%fil% compression finished
rem -----------------------------------------------------------------
-----------------------------------------------------------------
echo copies %~dp1%cv% in %~dp1%sx%
copy /b "%programfiles%\7zsfx\7Zsd2_all.sfx" + "%programfiles%\7zsfx\temp\configsfx.txt" + "%~dp1%cv%" "%~dp1%sx%"
rem ----------------------------------------------------------
del "%~dp1%cv%" /q
rem ----------------------------------------------------------
del /s/q "%programfiles%\7zsfx\temp"
rd\\.\ "%programfiles%\7zsfx\temp" /s/q
md "%programfiles%\7zsfx\temp"
rem extracts and inserts icons
%~d1
cd "%gff%"
if exist "icon_1.ico" goto icona
if not exist "%gtr%" goto end
%SYSTEMDRIVE%
cd "%programfiles%\7zsfx"
del "%programfiles%\7zsfx\reshacker_cambio_icona\*.*" /q
extraico.exe -export -iconindex=1 -desttype=ICO -closewhendone "%gff%\%gtr%" "%programfiles%\7zsfx\reshacker_cambio_icona\icon_1.ico"
cd "%programfiles%\7zsfx\reshacker_cambio_icona"
if not exist "icon_1.ico" exit
dir /w %programfiles%\7zsfx\reshacker_cambio_icona\icon_1.ico | find " 1 File 0 byte"
if "%errorlevel%" == "0" (goto end)
cd ..
ResHacker.exe -addoverwrite "%~dp1%sx%", "%~dp1%sx%", "%programfiles%\7zsfx\reshacker_cambio_icona\icon_1.ico", ICONGROUP,MAINICON,0
:end
exit
:icona
%SYSTEMDRIVE%
cd "%programfiles%\7zsfx"
dir /w "%gff%\icon_1.ico" | find " 1 File 0 byte"
if "%errorlevel%" == "0" (goto end)
ResHacker.exe -addoverwrite "%~dp1%sx%", "%~dp1%sx%", "%gff%\icon_1.ico", ICONGROUP,MAINICON,0
exit
_______________________________

#33 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,244
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 08 July 2012 - 08:38 AM

@odar - appreciate the detailed explanation of how you do it, except...

The OP specifically states that the call to MSIEXEX is done from within a Visual Studio "SETUP.EXE" that they have compiled, which means the path given within the SETUP.EXE is not working.

@ipen - have you considered trying to create an Install with something OTHER THAN a 7-zip?

#34 User is offline   odar 

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

Posted 08 July 2012 - 09:52 AM

bat files are all contained in this sfx with installation of CMenu you create a context menu for easy operation of the module with 7zsd reshaker extraico and change the icon below links to download the file over a video on the operation
tested on windows xp and Vista trouble with the Italian LANGUAGE with c menu in Windows 7 does not create the context menu could improve it?

link to sfx
http://rapidgator.ne...-64-MI.exe.html

link to video
http://youtu.be/fdRV6KzjQpU

This post has been edited by odar: 30 August 2012 - 09:32 PM


#35 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,244
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 08 July 2012 - 10:01 AM

View Postsubmix8c, on 08 July 2012 - 08:38 AM, said:

The OP specifically states that the call to MSIEXEC is done from within a Visual Studio "SETUP.EXE" that they have compiled, which means the path given within the SETUP.EXE is not working.
:whistle: The problem is not with 7-Zip but with the USER-WRITTEN PROGRAM (written in Visual Studio, maybe a C++ Program, which internally calls MSIEXEC with an improper path)! BAT files will not fix this. The PROGRAM needs fixed! :yes:

Here is a hint...

This post has been edited by submix8c: 08 July 2012 - 10:52 AM


#36 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,244
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 11 July 2012 - 12:37 PM

Not meaning to bump this topic, but here's an interesting and related article about Junction Points / Reparse Points (with some basic code examples).

#37 User is offline   odar 

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

Posted 13 July 2012 - 03:46 PM

;!@Install@!UTF-8!
InstallPath="%temp%\\Mysetup"
RunProgram="msistub MySetup.msi /qb-!"
Delete="%%T"
;!@InstallEnd@!

Attached File(s)


This post has been edited by odar: 13 July 2012 - 03:50 PM


#38 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,244
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 13 July 2012 - 07:42 PM

Thx, Odar, but you still don't get it...

the Original Poster is CALLING all of the checks and installs from HIS OWN VISUAL STUDIO PROGRAM! Meaning... the MSI is NOT to be called/installed from 7-zip SEPARATELY!!! JUST THE SETUP.EXE (which (1) checks the registry to see if PGM installed and (2) if not, Installs it).

Capice???

Please reread the thread....

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

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



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