[Gtk-sharp-list] Advice on Gtk# and WIX

libin.mohanan at wipro.com libin.mohanan at wipro.com
Sat Oct 31 07:27:54 EDT 2009


 
Source="../Pre-Requisites/To Run Application/W2K3/x86_x64/gtksharp-2.8.3-win32-0.0.exe"

This refers to the location of the exe. It can be 2.8 or 2.12. Just give here the location where you keep the installation package of GTK#. The installation of the GTK# will be done by the WIX setup that you are creating.

you can launch multiple number of installers from a WIX project. even I am using 2 from my installer, GTK# and Mono.

the following custom action triggers the installation:
 
 <CustomAction Id="InstallGtk" FileKey="GTKSETUP" ExeCommand="/silent"
 Execute="deferred" Impersonate="no"
             Return="ignore"/>

You can refer WIX tutorial for further assistance. 

http://www.tramontana.co.hu/wix/


________________________________

From: gtk-sharp-list-bounces at lists.ximian.com on behalf of dabatla
Sent: Fri 10/30/2009 5:24 PM
To: gtk-sharp-list at lists.ximian.com
Subject: Re: [Gtk-sharp-list] Advice on Gtk# and WIX




Thanks Libin, but I require gtksharp-2.12. I don't know if i'm missing
something but I only see a msi installer available.

I was told that one should not(or cannot) launch more than one msi at the
same time? even if this is possible, what WIX action can one use to launch a
msi?

I looked at the post http://go-mono.com/forums/#nabble-td16301589 where Brad
refers to some wix merge modules that will be made available about a year
ago. Does anyone know if this realized? if so, where can I get them?



libin-3 wrote:
>
> Add the following part in the "components" section of your product.wxs
> file
> for GTK setup installation.
>
>    <File Id="GTKSETUP" Source="../Pre-Requisites/To Run
> Application/W2K3/x86_x64/gtksharp-2.8.3-win32-0.0.exe"
>               Checksum="yes" Hidden="yes"/>
>
> Add this custom action inside "InstallExecuteSequence".
>
>  <Custom Action="InstallGtk" Before="InstallFinalize">
>         <![CDATA[NOT REMOVE AND NOT GTKINSTALLED]]>
>       </Custom>
>
> The following is the custom action which should be added to wxs file.
>
> <CustomAction Id="InstallGtk" FileKey="GTKSETUP" ExeCommand="/silent"
> Execute="deferred" Impersonate="no"
>             Return="ignore"/>
>
> The following is the property which should be added to wxs file for
> checking
> the registry whether GTK# is installed or not.
>  
>     <Property Id="GTKINSTALLED">
>       <RegistrySearch Id="gtksearch" Key="SOFTWARE\Novell\Gtk-Sharp\2.8.3"
> Name="SdkInstallRoot" Root="HKLM" Type="raw"></RegistrySearch>
>     </Property>
>
> Hope this helps..
>
> Regards,
> Libin
> -----Original Message-----
> From: gtk-sharp-list-bounces at lists.ximian.com
> [mailto:gtk-sharp-list-bounces at lists.ximian.com] On Behalf Of dabatla
> Sent: Thursday, October 29, 2009 1:57 PM
> To: gtk-sharp-list at lists.ximian.com
> Subject: [Gtk-sharp-list] Advice on Gtk# and WIX
>
>
> Hi there, I want to create a wix installer for my Gtk# windows application
> and I would like to be able to inform the user when Gtk# is not installed
> on
> his/her computer yet, or if it needs to be upgraded.
>
> Then I would like to fire up the Gtk# installer (included with my
> installer)
> if it needs to be upgraded or installed.
>
> Does anyone know of existing WIX libraries/tools/tasks that I might be
> able
> to use? Or can someone just point me in the right direction?
>
> I believe this is a common scenario, it shouldn't be to difficult right?
> --
> View this message in context:
> http://www.nabble.com/Advice-on-Gtk--and-WIX-tp26108731p26108731.html
> Sent from the Mono - Gtk# mailing list archive at Nabble.com.
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>

--
View this message in context: http://old.nabble.com/Advice-on-Gtk--and-WIX-tp26108731p26128799.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20091031/5f952f17/attachment-0001.html 


More information about the Gtk-sharp-list mailing list