MSFN Forum: msiexec fails to locate msi using 7 zip - 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
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

msiexec fails to locate msi using 7 zip 7 zip installation Rate Topic: -----

#1 User is offline   YEIH 

  • Group: Members
  • Posts: 2
  • Joined: 03-November 09

Posted 03 November 2009 - 11:09 AM

Hi,

I have created an exe that contains msi and some configuration files using 7 zip.
This works fine on most OS as far as I can tell but when we brought this to our customer site, it failed to launch our msi file.
I ran procmon and noticed that msiexec was looking for msi file in C:\ instead of temp folder that 7 zip created to extract msi and configuration files.
FYI, I tried to run 7 zip program to extract installer exe and I was able to extract them without any issue.

I tried to figure out why this happened but I could not and the issue is that I cannot reproduce this strange behavior locally.

Has anyone seen this behavior before? If you have any insight/suggestion, please let me know. Thanks.

FYI, here is my 7 zip conf file.

;!@Install@!UTF-8!
Title="XXProgram Setup Installation"
BeginPrompt="Do you want to install XXProgram on your computer?"
Directory="C:\\Windows\\System32\\"
RunProgram="cmd.exe /c copy /v configuration.conf C:\\Windows\\temp\\ & msiexec.exe /i setup.msi"
GUIMode="2"
;!@InstallEnd@!



YEIH

This post has been edited by YEIH: 03 November 2009 - 11:18 AM



#2 User is offline   ricktendo64 

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

Posted 03 November 2009 - 11:20 AM

You dont need to use msiexec or msistub anymore to launch msi installers its built in and you dont have to use & to launch a seperate install process you can use as many RunProgram lines as you like...try

;!@Install@!UTF-8!
Title="XXProgram Setup Installation"
BeginPrompt="Do you want to install XXProgram on your computer?"
Directory="C:\\Windows\\System32\\"
RunProgram="cmd.exe /c copy /v configuration.conf %windir%\\temp\\"
RunProgram="setup.msi"
GUIMode="2"
;!@InstallEnd@!


#3 User is offline   YEIH 

  • Group: Members
  • Posts: 2
  • Joined: 03-November 09

Posted 03 November 2009 - 11:57 AM

Thank you very much for your reply.
I tried your suggestion but setup.msi was not launched at all. Basically exe quitted after copy was done.
FYI, I create exe in linux box and I am just wondering if that caused the issue. Thank you again for your input.

YEIH

#4 User is offline   strel 

  • segmentation fault
  • PipPipPipPip
  • Group: Members
  • Posts: 629
  • Joined: 24-February 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 03 November 2009 - 01:26 PM

I think ricktendo is referring to 7-zip sfx modified module. Switch to russian to access to the latests version links.

Share this topic:


Page 1 of 1
  • 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 - 2011 msfn.org
Privacy Policy