View Full Version : I'm a newbie and need some help
jammer2
04-08-2005, 08:53 AM
Is it possible to add multiple exe file into ams and then publish it.
What I'm trying to do is take my program files and add them to ams and when I do an re-install of windows xp I can just run the ams program and install what I need using just one program.There's a project file on amsuser that's called MultipleEXEinstall-others-Josué Alba.apz that seems to be what I'm looking for but I get error 404: File not found when I try to download it.
Any help would be greatly appreciated.
Thanks
rhosk
04-08-2005, 09:00 AM
I don't think you would need that project file. You could easily do this in AMS. Just make simple buttons that would run/install the different apps & publish. Simple as that.
jammer2
04-08-2005, 09:17 AM
I don't think you would need that project file. You could easily do this in AMS. Just make simple buttons that would run/install the different apps & publish. Simple as that.
Where I get hung up is what action to I use fr the buttons?
rhosk
04-08-2005, 09:24 AM
Use File.Run (http://www.indigorose.com/webhelp/ams50/Program_Reference/Actions/File.Run_Examples.htm) for each of the buttons.
jammer2
04-08-2005, 09:52 AM
Use File.Run (http://www.indigorose.com/webhelp/ams50/Program_Reference/Actions/File.Run_Examples.htm) for each of the buttons.
Ok thanks that works, but I need to get some value from an ini file, I assume I use INIFile GetValue. I need an example how to use this, help is no help at all.
rhosk
04-08-2005, 10:03 AM
You need to be more specific. What do you want to do with the values?
jammer2
04-08-2005, 10:10 AM
You need to be more specific. What do you want to do with the values?
My install file, setup needs a password, so when I hit the button the file ask it I want to install my program and when I say yes a input dialog box pops up for me to insert a password. I can change the need for a password, but its not that easy to do it.
My typing or spelling sucks. I need to work on that.
rhosk
04-08-2005, 10:16 AM
You've lost me. Surely the password is not in the ini file :wow (unless it's encrypted, which is another ball game altogether).
You really need to detail step by step what you want to accomplish. The one-liners really don't help much. I realize that you're fairly new to the program/forum, but if you help us, we'll help you ;)
OK, you edited while I was posting, but still could use more info.
jammer2
04-08-2005, 10:25 AM
You've lost me. Surely the password is not in the ini file :wow (unless it's encrypted, which is another ball game altogether).
You really need to detail step by step waht you want to accomplish. The one-liners really don't help much. I realize that you're fairly new to the program/forum, but if you help us, we'll help you ;)
Sorry, what I'm trying to do is create a ams that will have 4 or 5 programs in it that I install everytime I re-install windows,. I just trying to make the chore a little more simple for I can't always remember all the programs I need to be installed till all of a sudden I need the program and its not installed. So if I could put all the programs I have into a program that gives me an option, via buttons. I don't have to have my programs individually everywhere they would be in one place. I made them ask for a password way back when because I had some people in my house that I didn't trust. The passwords have now become an obstacle, I can remove them but 'd have totweak my memory on how to do it. It just seems easier to have ams input thae passwords for me. I hope this helps in seeing my problem.
rhosk
04-08-2005, 10:34 AM
LOL, you really didn't ask a question there.
Anyway, I think I know what you're trying to do and though it can be done, I would recommend either just to input the password(s) manually, or trying to eliminate the password requirement. If you do the latter, you could simply password protect the new application as a whole (to keep prying eyes out as you stated).
The dialog you speak of is an external window and would be cumbersome at best to input these passwords auto. Still not quite sure where the ini file comes in.....
Hopefully this gives you ideas.
jammer2
04-08-2005, 10:40 AM
LOL, you really didn't ask a question there.
Anyway, I think I know what you're trying to do and though it can be done, I would recommend either just to input the password(s) manually, or trying to eliminate the password requirement. If you do the latter, you could simply password protect the new application as a whole (to keep prying eyes out as you stated).
The dialog you speak of is an external window and would be cumbersome at best to input these passwords auto. Still not quite sure where the ini file comes in.....
Hopefully this gives you ideas.
I appreciate what your saying but again, I'm trying to make the install easier for me, I can't remember what password go to which program I have to look them up on a list, changing the programs back to no passwords is not that easy, again I'm trying to make this project as simple as I can. I just figured an INI file was the easiest way to insert data into my programs, if there is a easier way, I'd prefer it.
jammer2
04-08-2005, 10:57 AM
I appreciate what your saying but again, I'm trying to make the install easier for me, I can't remember what password go to which program I have to look them up on a list, changing the programs back to no passwords is not that easy, again I'm trying to make this project as simple as I can. I just figured an INI file was the easiest way to insert data into my programs, if there is a easier way, I'd prefer it.
I figured out how to do it, I think. I'll just add a page ,call it info or passwords. then create a button ot the main page that jumps to the info page that has all the passwords on it, some of the passes I created is very difficult to remember, so if I create the additional page I can cut and paste.
Thanks for your help, it was greatly appreciated, I think ams needs a little better help than it has, they need to put some examples on it, examples go a long ways in teaching something.
anyways thanks again.
rhosk
04-08-2005, 11:00 AM
An ini file would be a good solution to insert data "into an AMS app", not external windows/dialogs.
Let me just spit this off the top of my head here.
- You want to execute the install setup (already took care of that :))
- Retrieve a value from the ini file (passwords not recommended in ini files, btw)
- Grab the window that's prompting you
- get focus on the text input box
- retrieve the value to insert it into the text box
- select OK (manually or auto)
continue;
No one is going to do this for you. I'm not trying to be coarse here, just letting you know that, from your inquiries, you want someone to build this structure for you (I conclude this because you're fairly new to the program).
Now, if you back up and try to build it yourself, and run into problems, that's what we're here for; usually one question at a time.
Conversely, you must find all the passwords for each program that you speak of anyway, why not have them in a list inside your new application and again, have the new application password protected some way.
I really think you're making this hard on yourself. Either that or there's still not enough information.
Well, once again you posted as I was. And you took one of my recommendations. Let us know if you need any further help. Practice and experience will pay off :)
jammer2
04-08-2005, 11:31 AM
An ini file would be a good solution to insert data "into an AMS app", not external windows/dialogs.
Let me just spit this off the top of my head here.
- You want to execute the install setup (already took care of that :))
- Retrieve a value from the ini file (passwords not recommended in ini files, btw)
- Grab the window that's prompting you
- get focus on the text input box
- retrieve the value to insert it into the text box
- select OK (manually or auto)
continue;
No one is going to do this for you. I'm not trying to be coarse here, just letting you know that, from your inquiries, you want someone to build this structure for you (I conclude this because you're fairly new to the program).
Now, if you back up and try to build it yourself, and run into problems, that's what we're here for; usually one question at a time.
Conversely, you must find all the passwords for each program that you speak of anyway, why not have them in a list inside your new application and again, have the new application password protected some way.
I really think you're making this hard on yourself. Either that or there's still not enough information.
Well, once again you posted as I was. And you took one of my recommendations. Let us know if you need any further help. Practice and experience will pay off :)
No I wasn't trying to get someone to write it for me, I just was not getting a clear definaition from the help file. I'm disappointed in the help file, if it was clearer you and I would not be having this conversation. I don'tthink asking about 2 functons is too much to ask for, maybe I'm wrong but I thought thats what the forum was for. As far as the password issue its not a problem anymore as far hiding them, I can't rember them, they were created with Al Roboform.
I don't know what more information you need as I said before I need to have ams create me a program that give me options via buttons, or whatever, to install various exe programs, some are password protected, thats why my original post was asking about MultipleEXEinstall-others-Josué Alba.apz I couldn't see re-inventing the wheel, but we strayed into other avenues.
oh well
thanks again
rhosk
04-08-2005, 11:50 AM
jammer2, I think what you were looking for was for AMS to do it 'seamlessly' or automatically somehow (process an external password dialog) and it's just not possible without a bit of detailed code. I really don't think that Josue's project will do that for you 'on the fly'- I could be wrong, though.
Go ahead and get things going and if you run into any problems at all, come on back - I hope I didn't disappoint you in any way. Wasn't my intention at all.
jammer2
04-08-2005, 12:40 PM
jammer2, I think what you were looking for was for AMS to do it 'seamlessly' or automatically somehow (process an external password dialog) and it's just not possible without a bit of detailed code. I really don't think that Josue's project will do that for you 'on the fly'- I could be wrong, though.
Go ahead and get things going and if you run into any problems at all, come on back - I hope I didn't disappoint you in any way. Wasn't my intention at all.
No, you didn't disappoint me, you were very helpful, we or I just had a problem explaining , I'm sure it was me. I tend to not be able to explain very well what I'm thinking. Josue's project may not be what I'm looking for, each person that does any kind of coding does it a bit different. tha the next person, I always hated modifying someone elses code, but I just wanted to see Josue's project and see some example, wheather I used them or not.
Anyway you got me on the right track, I thank you for that. that has to be an accomplishment for you, I tend to be a little on the dense side at times.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.