Results 1 to 3 of 3

Thread: IS Developer 7.02 silent install command line question-msiexec.exe can not accept ...

  1. #1
    Join Date
    Oct 2001
    Posts
    44,727

    IS Developer 7.02 silent install command line question-msiexec.exe can not accept ...



    Now, I am upgrading my ISWI2.0 project to IS Developer 7.02 .

    My project is mainly for silent install .
    The command line is -- setup.exe /s /v" ... "
    I use the /v argument to pass command line switches and values of public
    properties through to Msiexec.exe.

    When I build my project with ISWI 2.0 ,my command line works well .But when
    i build my project with IS Developer 7.02 . the command line does not work
    any longer ,that is to say,install program can not be lunched at all .

    It spent me much time to check the command line .In the end ,I found that it
    will work if I remove some parameters in the double quotation marks after /v
    ..

    I built a simplest project "ISTest1" to test the length limitation of the
    cmdline parameters .
    example:
    setup.exe /s /v" /qn /L*v c:\ISTest1.txt P1=\"
    1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaa\""
    can work,but

    setup.exe /s /v" /qn /L*v c:\ISTest1.txt P1=\"
    1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaab\""

    can not work

    Who can tell me the exact length limitation of the parameters ?
    Why ISWI2.0 has no this limitation but IS Developer 7.02 has ?
    Is this a bug of IS Developer 7.02?

    Ang suggestion would be appreciated .

    regards,

    zhiwu mu










  2. #2
    Join Date
    Oct 2001
    Posts
    44,727

    Re: IS Developer 7.02 silent install command line question-msiexec.exe can not accept ...




    the length of public properties parameters that be passed to msiexec.exe by
    /v parameter has limitation .

    setup.exe /s /v" /qn /L*v c:\ISTest2.txt P1=\"
    1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaa\" P2=\"aaaaaaaaaaaaaaaaaaaaaa\""

    can work ,

    setup.exe /s /v" /qn /L*v c:\ISTest2.txt P1=\"
    1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaa\" P2=\"aaaaaaaaaaaaaaaaaaaaaaaaa\"
    P3="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\""

    can not work

    ISWI2.0 has no this limitation ,but IS Developer 7.02 has .

    Is this a bug of IS Developer 7.02?


    "zhiwu mu" <zhiwu_mu@trendmicro.com.cn> wrote in message
    news:3c3cfca3@news.installshield.com...
    > Now, I am upgrading my ISWI2.0 project to IS Developer 7.02 .
    >
    > My project is mainly for silent install .
    > The command line is -- setup.exe /s /v" ... "
    > I use the /v argument to pass command line switches and values of public
    > properties through to Msiexec.exe.
    >
    > When I build my project with ISWI 2.0 ,my command line works well .But
    when
    > i build my project with IS Developer 7.02 . the command line does not work
    > any longer ,that is to say,install program can not be lunched at all .
    >
    > It spent me much time to check the command line .In the end ,I found that
    it
    > will work if I remove some parameters in the double quotation marks after
    /v
    > .
    >
    > I built a simplest project "ISTest1" to test the length limitation of the
    > cmdline parameters .
    > example:
    > setup.exe /s /v" /qn /L*v c:\ISTest1.txt P1=\"
    > 1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaa\""
    > can work,but
    >
    > setup.exe /s /v" /qn /L*v c:\ISTest1.txt P1=\"
    > 1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    > aaaab\""
    >
    > can not work
    >
    > Who can tell me the exact length limitation of the parameters ?
    > Why ISWI2.0 has no this limitation but IS Developer 7.02 has ?
    > Is this a bug of IS Developer 7.02?
    >
    > Ang suggestion would be appreciated .
    >
    > regards,
    >
    > zhiwu mu
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >


  3. #3
    rgsiii Guest

    And the anwer is?

    Did you ever get an answer for this.

    We just hit the same problem.

    Thanks
    Robert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •