Jump to content
Sign in to follow this  
t_bear

Anyone used Wininter.exe from CCM/iCommand/LiveState Delivery

Recommended Posts

t_bear

Hi.

Some of you may have been using CCM/iCommand/LiveState Delivery and used the buttonpusher that comes with it. (Transcript Recorder)

Now the product has been end-of-life'd, and I wanted to continue to use the transcript recorder language in our next installation system. (we have a LOT of buttonpusher scripts... and the language is really easy to use)

So I've created in AutoIt a .win parser that reads the .win files (not the compiled .if files that wininter.exe does) and does the same thing.

It's not complete yet, but it's getting there.

Here's what a .win file could look like:

[preface]

    language  = 0
    version   = 0, 1    

[variables]
    INSTALLPATH = "C:\\Program Files\\Demo\\"
    
[begin]
    RUN "C:\\Doc\\AutoIt\\WinFileParser\\demo.exe"



[windows]


    {"Demo"} 
    {"~This program will demonstrate " , "~Welcome to the demonstration i"} 
    [ 
        BUTTON {"Next >"|"&Next >"} 
        SLEEP 1
    ] 

WB1:{"Demo"} 
    {"Destination Folder" , "Install Demo to:"} ! WB1 
    [ 
        BUTTON {"Change..."|"&Change..."} 
    ] 

    {"Demo"} 
    {"Look in:" , "&Look in:"} 
    [ 
        EDIT {"#731"} <INSTALLPATH> 
        BUTTON {"OK"|"&OK"} 
    ] 

WB2:{"Demo"} 
    {"Destination Folder" , "Install Demo to:"} ! WB2 & WB1 
    [ 
        BUTTON {"Next >","&Next >"} 
    ] 

    {"Demo"} 
    {"Ready to Install the Program"} 
    [ 
        BUTTON {"Install"|"&Install"} 
    ] 

    {"Demo"} 
    {"InstallShield Wizard Completed"} 
    [ 
        BUTTON {"Finish"|"&Finish"} 
        end
    ]

Anyone interested in this?

Quite often, silent params just don't work, or works differently than you want it to, and then this way of telling a buttonpusher what to do, just make life sooo much easyer ;)

Best regards

T-Bear

Share this post


Link to post
Share on other sites
t_bear

Apparently not...

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  

×