Advice on Gtk# and WIX

View: New views
5 Messages — Rating Filter:   Alert me  

Advice on Gtk# and WIX

by dabatla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Re: Advice on Gtk# and WIX

by libin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
[mailto:gtk-sharp-list-bounces@...] On Behalf Of dabatla
Sent: Thursday, October 29, 2009 1:57 PM
To: gtk-sharp-list@...
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@...
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@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: Advice on Gtk# and WIX

by dabatla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@lists.ximian.com
[mailto:gtk-sharp-list-bounces@lists.ximian.com] On Behalf Of dabatla
Sent: Thursday, October 29, 2009 1:57 PM
To: gtk-sharp-list@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@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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: Advice on Gtk# and WIX

by libin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [Gtk-sharp-list] Advice on Gtk# and WIX
 
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@... on behalf of dabatla
Sent: Fri 10/30/2009 5:24 PM
To: gtk-sharp-list@...
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@...
> [gtk-sharp-list-bounces@...] On Behalf Of dabatla
> Sent: Thursday, October 29, 2009 1:57 PM
> To: gtk-sharp-list@...
> 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@...
> 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@...
> 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@...
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@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: Advice on Gtk# and WIX

by Brad Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-30 at 04:54 -0700, dabatla wrote:

> 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?

At the GNOME summit two years ago, Mike Kestner and I added a makefile
target to gtk-sharp (win32-installer) to allow merge modules to be
built.  This target still exists, and all you need to do is run `make
win32-installer` from a fully built gtk-sharp win32 build to produce a
gtk# msm.

The idea at the time was that Medsphere (who I was working for at the
time) would distribute gtk+ merge modules, and those two combined could
provide the complete gtk# stack.  Now, I'm no longer employed by
Medsphere, so I'm not sure if they still release updated merge modules
along with the general gtk-sharp installer.  Perhaps someone at
Medsphere could speak to this?

Hope this helps,

-Brad

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