Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

PFTW problem


6 replies to this topic

igalz1

igalz1
  • Members
  • 14 posts

Posted 23 September 2003 - 18:32

Hi!

I am using PFTW command line "c:\setup.exe -e -f c:\temp" the problem at the end of the process a new window explorer appears. I want to avoid this action. Can somebody help me.
thanks

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 September 2003 - 11:05

What directory does the Explorer window display?
I believe you want to change your command line to
c:\setup.exe -e -fc:\temp
(no blanks after the parameters)

I'm not sure that -e without executable file will be able to override the execution of the inner setup program.
Alternatively you can extract the package contents using WinZip, or run the package normally until the Welcome screen, then grab the package contents from the temp folder.

igalz1

igalz1
  • Members
  • 14 posts

Posted 24 September 2003 - 15:50

Thanks Stefan!
In the future I will use only the form.
The blanks after the parameters didn't help):
It still opens the Explorer window after execution
of the exe file.
With zip I have a problem. I need a zip command line exe and the zip command line works as far as I know only with zip extensions (.zip)
So if you have any idea i will be glad hear them
Thanks again
Igal

igalz1

igalz1
  • Members
  • 14 posts

Posted 24 September 2003 - 17:58

If the command c:\setup.exe -e -fc:\temp

it displays c:\temp directory at the end
Thanks

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 25 September 2003 - 11:45

In this case I'm running out of ideas...

igalz1

igalz1
  • Members
  • 14 posts

Posted 25 September 2003 - 15:26

Thanks I find out how to solve it
1.Create a console program
int main(int argc, char* argv[])
{
return 0;
}

2.Then the command line should look like that
"c:\setup.exe -e console.exe -f c:\temp"
Thanks for you help.

igalz1

igalz1
  • Members
  • 14 posts

Posted 25 September 2003 - 16:23

Hi,
You can use even REGSVR32.EXE from the windows system.
So the command should look "c:\setup.exe -e REGSVR32.EXE -f c:\temp"
thanks again for you help