greenbeauty Posted January 11, 2010 Share Posted January 11, 2010 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! Link to comment Share on other sites More sharing options...
Juvigy Posted January 11, 2010 Share Posted January 11, 2010 Where exactly in the script point it gives you that error? On which script line? What does the SCite console show ? Link to comment Share on other sites More sharing options...
greenbeauty Posted January 11, 2010 Author Share Posted January 11, 2010 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.. Link to comment Share on other sites More sharing options...
Juvigy Posted January 11, 2010 Share Posted January 11, 2010 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 ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now