Sign in to follow this  
Followers 0
greenbeauty

MSI installation .. during installation errors

4 posts in this topic

I want to install a application (citrix presentation server)

This installation file is a MSI file.

I DON'T want to use msi unattended parameters because it's a huge installation.

So I use this command:

RunWait(@COMSPEC & " /c Start \mps.msi")

(I also tried shell execute, but then the winactive function don't work in this msi)

My problem now, is that the setup crashes in the middle when it must open a sql window

The last stap the setup gives the error: Internal Error (without any other information)

This is my script for the installation:

;RunWait(@COMSPEC & " /c Start \mps.msi")

WinWaitActive("Citrix Presentation Server for Windows Setup", "This wizard installs Citrix Presentation Server for Windows")
Send("!n")

WinWaitActive("Citrix Presentation Server for Windows Setup", "This is a legal agreement")

Send("^{end}") 
Send("!a")
Send("!n")


WinWaitActive("Citrix Presentation Server for Windows Setup", "Enterprise Edition")
Send("!a")
Send("!n")

WinWaitActive("Citrix Presentation Server for Windows Setup", "Current Installation location")

Send("{down}") 
Send("{down}")
Send("{down}")
Send("{down}")
Send("{space}") 
Send("{down}") 
Send("{down}")
Send("{down}")
Send("{down}")
Send("{enter}")
Send("!n")

WinWaitActive("Citrix Presentation Server for Windows Setup", "Select the desired pass-through authentication behavior")
Send("!n")

WinWaitActive("Citrix Presentation Server for Windows Setup", "Create or Join a Server Farm")
Send("!j")

What is the problem you think?

When I just open the msi manually (without autoit) it won't give any errors!

Share this post


Link to post
Share on other sites



Where exactly in the script point it gives you that error? On which script line?

What does the SCite console show ?

Share this post


Link to post
Share on other sites

Well.. thats the problem,

the script itself doesn't give any error..

It runs succesfull, but when the last command is send:

WinWaitActive("Citrix Presentation Server for Windows Setup", "Select the desired pass-through authentication behavior")

Send("!n")

The setup crash..

When I manually do this without autoit the setup continue..

I tink that the start command: ;RunWait(@COMSPEC & " /c Start \mps.msi")

Has something to do with this problem..

Share this post


Link to post
Share on other sites

What about if you skip this:

WinWaitActive("Citrix Presentation Server for Windows Setup", "Select the desired pass-through authentication behavior")

Send("!n")

Does it work?Maybe you need to change RunWait with Run ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0