On Mon, 20 Oct 2008 08:26:33 -0700 (PDT), chaiguy1337 wrote:
Logan,
> Thanks for the tip! I will look into the AutoIt language. To get me
> started, could you provide me with a sample piece of your script
> that checks the .NET version and downloads/launches the installer?
The $XXX constants are simple string constants with appropriate messages.
To make it download something, you have to write your own simple HTTP download
function. I found FTP-based, canned solutions on the net but HTTP required a
little bit of elbow grease. But not much, look for the WinINet.au3 wrapper for
the standard Wininet.dll.
=====
global $FrameworkPresent = RegRead ("HKLM\Software\Microsoft\NET Framework
Setup\NDP\v2.0.50727", "Install")
if $FrameworkPresent <> 1 then
if MsgBox (1 + 48, $APPNAME, $FRAMEWORKNEEDED) == 2 then
MsgBox (16, $APPNAME, $QUITMESSAGE)
exit
endif
RunWait ($INSTALLDIR & "\dotnetfx.exe")
endif
global $FrameworkSPPresent = RegRead ("HKLM\Software\Microsoft\NET Framework
Setup\NDP\v2.0.50727", "SP")
if $FrameworkSPPresent < 1 then
if MsgBox (1 + 48, $APPNAME, $SPNEEDED) == 2 then
MsgBox (16, $APPNAME, $QUITMESSAGE)
exit
endif
RunWait ($INSTALLDIR & "\netfx20sp1_x86.exe")
endif
RunWait ("msiexec /i " & $INSTALLDIR & "YourProduct.msi")
=====
Bye,
G�bor
-------------------------------------------------------------------
DE�K JAHN, G�bor -- Budapest, Hungary
E-mail: [EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users