Jump to content

Recommended Posts

Posted

I have an intereting problem: I want to have a combo box in my script that will appear in the GUI window. and depending in what the person chooses certain programs will install. I already have the program installation part done.

Basically, the code is below, the optiosn are states, and depending on what state you choose a certain program will install. The othe problem is that one of the programs have to install no matter what state you are in. Essentially 2 programs will install no matter what state you choose, one of then being the same.

Dim $NibrsST = GUISetControl("combo", "my combo", 155, 252, 80, 100)
    GUISetControlData($agencyST,"IA|MN|WI|MO|TX|MN")

--------------

Also when I compile my script to a exe, it is rather large, like 100mb, because I am using FileInstall to compress other files with it. Is there another way I can do this so it is not that large.

Thank you

  • Developers
Posted

I have an intereting problem:  I want to have a combo box in my script that will appear in the GUI window.  and depending in what the person chooses certain programs will install.  I already have the program installation part done. 

Basically, the code is below, the optiosn are states, and depending on what state you choose a certain program will install.  The othe problem is that one of the programs have to install no matter what state you are in.  Essentially 2 programs will install no matter what state you choose, one of then being the same.

Dim $NibrsST = GUISetControl("combo", "my combo", 155, 252, 80, 100)
    GUISetControlData($agencyST,"IA|MN|WI|MO|TX|MN")

<{POST_SNAPBACK}>

Not sure what you are really asking here but shouldn't the code be:

Dim $NibrsST = GUISetControl("combo", "my combo", 155, 252, 80, 100)
    GUISetControlData($NibrsST,"IA|MN|WI|MO|TX|MN")

Also when I compile my script to a exe, it is rather large, like 100mb, because I am using FileInstall to compress other files with it.  Is there another way I can do this so it is not that large.

<{POST_SNAPBACK}>

Your only other option is to not FileInstall it but to just run it ...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

How is this done?

I have used the cabinet to compress hundreds of files and then a script that runs the cabinet from DOS in a hidden window to decompress the files. that might work for you

<{POST_SNAPBACK}>

Posted

I am new to this, I do not follow. Can you be more specific. Is that a function built into Autoil or something? I am still confused on what you are saying.

How is this done?

<{POST_SNAPBACK}>

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...