mode=win32 brings up shell window

Help
2007-10-08
2013-04-25
  • Wayne Nelson
    Wayne Nelson
    2007-10-08

    The docs say that mode=win32 will execute without opening a shell window. I am still getting the shell window. Here is my ant:

    <sfx archive="SharedDriveMonitorSetup.zip"
            mode="win32"
            execute="setup.exe"
            icon="retention_app_256.gif"
            output="SharedDriveMonitorSetup.exe"/>

     
    • Arne Plöse
      Arne Plöse
      2007-10-09

      This might be true...

      Please use current code from svn.
      Or wait one/two weeks for the next release.
      I wait if errors com up in the roxes-win32 1.1.1 release.

      Cheers

      Arne

       
    • Wayne Nelson
      Wayne Nelson
      2007-10-09

      I am using the latest. Is there a work around? We are releasing soon.

       
      • Arne Plöse
        Arne Plöse
        2007-10-09

        I checked out the sources (to be sure)...
        If you run the file stub.exe from the explorer it will be executed without a console.
        So is there a chance that your setup.exe brings up the console?
        If no I will examine this further.

        Cheers,

        Arne

         
        • Arne Plöse
          Arne Plöse
          2007-10-10

          Sorry for misleading you.

          The problem is indeed in the c-sources...

          the call to CreateProcess must be fixed handles SW_SHOW constand or something else - I dont know.
          Maybe you try it? I have currenty no time and no idea to fix this problem it soon.
          If you need help to setup mingw ant testing please feel free to contact me.

          Cheers

          Arne