Showing information gathered by variable?

Got a problem you cannot solve? Try here.
arrigob
Posts: 11
Joined: Thu Jul 08, 2010 12:42 pm

Showing information gathered by variable?

Postby arrigob » Thu Jul 08, 2010 12:48 pm

I am new but have been taking much time to become accustomed. One big question though, is there a way to run a variable command to see what information it produces. For example:


Set Variable CallingPath to ""
Get INI $Windir$\johndoe.ini, [Global] CallingPath Value into Variable CallingPath
Set Variable CallingPath to $CallingPath$


So, with (Get INI $Windir$\johndoe.ini, [Global] CallingPath Value into Variable CallingPath) this in mind, is there a way to see what this command produces? It would really help us ensure we are coding what we need correctly. Any help would be great and thanks for everyones time to read this!

Brandon

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Showing information gathered by variable?

Postby MichaelNesmith » Thu Jul 08, 2010 4:55 pm

You really don't need that last line there. The previous statement will already have updated the variable for you. I am not sure what you are asking, but you can always figure out what value the variable holds using the debugger and/or displaying the age old MessageBox :)
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

arrigob
Posts: 11
Joined: Thu Jul 08, 2010 12:42 pm

Re: Showing information gathered by variable?

Postby arrigob » Fri Jul 09, 2010 8:31 am

Awesome, that was exactly what I needed. Also, thanks for the info on that last line.

arrigob
Posts: 11
Joined: Thu Jul 08, 2010 12:42 pm

Re: Showing information gathered by variable?

Postby arrigob » Fri Jul 09, 2010 11:54 am

I now have another question regarding your answer. I see how messagebox works, but am still working on debug mode.

I have my script going through debug and it doesn't find any errors but it doesn't show me the value for the variable, what might I be missing? Does it write a log file? Just wondering where I find the variable values when using debug mode? Thanks again,

Brandon

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Showing information gathered by variable?

Postby MichaelNesmith » Fri Jul 09, 2010 2:00 pm

Did you add a variable watch?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

arrigob
Posts: 11
Joined: Thu Jul 08, 2010 12:42 pm

Re: Showing information gathered by variable?

Postby arrigob » Mon Jul 12, 2010 7:16 am

Thanks Michael, no I did not. Where would I find it, I have been looking for it for about 30 minutes this morning.

Do you happen to know of any books about your software that are available for purchase? Thanks

Brandon

arrigob
Posts: 11
Joined: Thu Jul 08, 2010 12:42 pm

Re: Showing information gathered by variable?

Postby arrigob » Mon Jul 12, 2010 7:19 am

Found the watch that was next to debug, yea I feel bad now, lol.

Any tutorials or books your could recommend would be wonderful?

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Showing information gathered by variable?

Postby mills » Mon Jul 12, 2010 6:33 pm

Hi Brandon,

The best we have at the moment can be found in our White Papers:
http://www.installaware.com/publications-whitepapers.htm

And product guides:
http://www.installaware.com/publications-product-guides.htm

The forum here may be able to answer many of your questions as well.

Also, pressing F1 anytime while using InstallAware will bring up the context-sensitive help window.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 21 guests