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

libin libin.mohanan at wipro.com
Thu Oct 29 05:12:06 EDT 2009


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


More information about the Gtk-sharp-list mailing list