Re: [WiX-users] Show Dialog from Custom Action

2010-04-01 Thread akash bhatia
if you need help about how to use the spawn dialog..then you have to look into my blog here <http://akash-bhatia.blogspot.com/>. i have used the spawn dialog to populate the list of SQL servers on the network... On Thu, Apr 1, 2010 at 5:25 PM, akash bhatia <911ak...@gmail.com> wro

Re: [WiX-users] Show Dialog from Custom Action

2010-04-01 Thread akash bhatia
i was not saying anythin about child dialog.. you custom dialog will be another andependent dialog... 1. lets say that you have a dialogA on click on next you are callin c# CA 2. no need to call any C# CA instead call another Dialog..say DialogB on NEXT of it (which is your custom dialog) wit

Re: [WiX-users] Getting MSI Error 1613

2010-04-01 Thread akash bhatia
have you validated your package using ORCA or MSIVal ? On Thu, Apr 1, 2010 at 2:37 PM, Sandeep Gautam (HCL Technologies Ltd) < v-sgo...@microsoft.com> wrote: > HI All, > > While doing installation I am getting error # 1613(This installation > package cannot be installed by the Windows Installer s

Re: [WiX-users] Show Dialog from Custom Action

2010-04-01 Thread akash bhatia
for this you can set in the PROPERTY in your custom action. and create a custom dialog as per you requirements... on clicking the next of you current dialog... call C# CA first and then call this new customized dialog and set a condition as per the PROPERTY value. hope you ll reslove you i

Re: [WiX-users] Beginner's Question: 32 Bit MSI on 64 Bit OS

2010-03-25 Thread akash bhatia
yes Micheal, there is a way around . try to find out the target machine using * VersionNT64* then you can actually set the condidtion to the component depending on tht... On Thu, Mar 25, 2010 at 6:20 PM, Michael Osmond wrote: > Thanks Dave > > -Original Message- > From: David Watson

Re: [WiX-users] including WixUI_Modno in project

2010-03-12 Thread akash bhatia
Instead referring WiXMondo... use the source code for Mondo at: http://wix.cvs.sourceforge.net/*checkout*/wix/wix/src/ext/UIExtension/wixlib/WixUI_Mondo.wxs you can add where ever you want to add your custom dialogs .. On Fri, Mar 12, 2010 at 10:14 PM, Shabbir Ahsan wrote: > > Hi, > > > > I wan

Re: [WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread akash bhatia
you can combine both workarounds given by me before...guess it will resolve ur problem in ur scenario On Tue, Mar 9, 2010 at 4:06 PM, akash bhatia <911ak...@gmail.com> wrote: > if you have different install directories for all then may be u can check > for the files ex

Re: [WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread akash bhatia
uld be displayed only if > the > product being removed is the one that first installed the merge module, > because only then will it have the shared components in its folders. How do > I find out which product installed it first? > > On Tue, Mar 9, 2010 at 2:28 PM, akash bhatia <

Re: [WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread akash bhatia
Lisa, Best way is that u can write a custom action at uninstall which checks whether other two products r installed or not... set a property for tht if it found other products then it means tht shared files wont get deleted from target machine. and u can populate messagebox accordingly (as per th

[WiX-users] [WIX-Users] Problem while running big sql script file

2010-02-02 Thread akash bhatia
Hi, I am using the WiX 3.0 and using the *WixSqlExtension *for creating the DB and running a script file on this DB. While installing the product i am getting the error as: InstallSqlData: Error 0x8007000e: failed to read from stream InstallSqlData: Error 0x8007000e: failed to read SqlS

Re: [WiX-users] Creating a bootstrap for minor upgrade

2010-01-19 Thread akash bhatia
Yeah Neil, thanks for correcting me ... sometimes brain do go wrong doing multitasking :) On Tue, Jan 19, 2010 at 8:59 PM, Neil Sleightholm wrote: > >> used cmdbld.exe shipped with WiX 3.0... > > I think you mean setupbld.exe > > Neil > > > ---

Re: [WiX-users] Creating a bootstrap for minor upgrade

2010-01-19 Thread akash bhatia
used cmdbld.exe shipped with WiX 3.0... now eagerly waiting for the Burn utility ( http://robmensching.com/blog/posts/2009/7/14/Lets-talk-about-Burn ) that will be shipped along with WiX 3.5 where we can set some look and feel as well. On Mon, Jan 18, 2010 at 7:39 PM, akash bhatia <91

[WiX-users] Creating a bootstrap for minor upgrade

2010-01-18 Thread akash bhatia
Hi, Can any one just suggest me a way to create a bootstrap for my msi file so that end user will not face a painfull process of passing a REINSTALL and REINSTALLMODE through command line for minor upgrade. i found a way of doing it through using c# and dotnet at: http://pdkm.spaces.live.com/Bl

[WiX-users] Unable to create DB using WixsqlExtension

2009-09-09 Thread akash bhatia
Hi, I am using the WixSQLExtension to create DBs to a remote server in network as *Environment:-* 1. We are using SQL server 2000 *Problem:-* 1. gets an error as "Not able to create user MYUSER as it has an invalid password."

[WiX-users] running dynamic sqlscript

2009-07-20 Thread akash bhatia
Hi All, is there any way that we can run our dynamically generated SQL SCRIPT during fly? right now what i am doing is that i am writing my dynamically creating the SQL SCRIPT and then writing it into a file and then referring this binary file for running my SQL script. Is there any way where w

Re: [WiX-users] Query: Difference between WiX and Visual Studio Setup Build

2009-07-13 Thread akash bhatia
hi Vijay, please go thru the following link as it will give u very basic info about wix with separate from other setup creation tools available in market. http://blogs.newsgator.com/inbox/2007/06/why_wix.html if you are not doin anything in the UI sequence... that means u dont need to modify t

[WiX-users] SQL db browse problem

2009-07-08 Thread akash bhatia
hi all, i am facing here quite a different problem. i have created my custom dialog for *SQLlogin* and in that on *SQLBROWSE *button i am calling a C# custom action for gettin all the dbservers on network and writing all that in a textfile. next i am calling a spawn dialog with listbox control i

Re: [WiX-users] What is a difference TYPICAL Installation and Complete Installation.

2009-06-30 Thread akash bhatia
to give the user options on > what is or isn't installed. > > Chris > > -Original Message- > From: akash bhatia [mailto:911ak...@gmail.com] > Sent: Monday, June 29, 2009 3:14 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users

[WiX-users] What is a difference TYPICAL Installation and Complete Installation.

2009-06-29 Thread akash bhatia
hi, I have been using WiX 3.0 for migrating my installlers in Installshield to WiX. One thing i am not able to understand is the Difference between *typical*and *complete* installation. Can any one please throw some light on this. Regards, Akash

Re: [WiX-users] CustomDialog to add before InstallWelcome

2009-06-05 Thread akash bhatia
ition element)? > > akash bhatia wrote: > > hi, > > > > my requirement here is to check for the pre existence of DOTNET framework > > before my setup should start install. > > thant means it should pop a custom messagebox/dialog when dotnet is not > > installed,

[WiX-users] CustomDialog to add before InstallWelcome

2009-06-05 Thread akash bhatia
hi, my requirement here is to check for the pre existence of DOTNET framework before my setup should start install. thant means it should pop a custom messagebox/dialog when dotnet is not installed,before Installwelcome dialog, the same way which we use to do in InstallShield( am a WiX newbie). I

Re: [WiX-users] Files left during Un-install

2009-06-04 Thread akash bhatia
he RemoveFile element is probably useless below (that is for removing > files that are *not* described by your install). Take a look at a > verbose log file and see if your Component is being uninstalled. My > first bet is that some other product is holding on to it (or you've >

[WiX-users] Files left during Un-install

2009-06-04 Thread akash bhatia
hi, i am facing a very weird situation here. i am installing 2 services during installation. also i am removing it during uninstall. but the weird thing is that during uninstall, services are not deleted and also respective EXEs also exists in the INSTALLLOCATION here s my code which i have use

Re: [WiX-users] Passing properties between deferred custom actions

2009-05-25 Thread akash bhatia
You can only call certain PROPERTIES like "CustomActionData". this link might help you http://vadmyst.blogspot.com/2006/05/deferred-custom-actions-with-wix.html Akash On Tue, May 26, 2009 at 12:29 AM, Alex Ivanoff wrote: > I need to pass some values from one deferred custom action to another.

Re: [WiX-users] Referencing Binary file in managed CA

2009-03-19 Thread akash bhatia
ADD-ON what exactly i mean that, MSI hsould copy this file at particular location, and i can refer that physical location while executing my managed CA, where am using this XML Thanks, Akash On Thu, Mar 19, 2009 at 12:23 PM, akash bhatia <911ak...@gmail.com> wrote: > Hi, > >

[WiX-users] Referencing Binary file in managed CA

2009-03-18 Thread akash bhatia
Hi, Is there a way we can refer any binary file in our managed CA? Like, here I have a scenario, I need to refer XML file in my CA for some functionality. I don’t want to copy it locally first to some folder and then use it. Do anyone has better solution for this? Thanks, Akash

Re: [WiX-users] creatind DB and running SQL script

2009-03-12 Thread akash bhatia
rom an SQL script not the Management Studio gui - and see if you get > the same error. > > Then you need to check what files SQL server is trying to create. > > I would also suggest that you try this on another machine and see if you > get the same error. > > Michael >

Re: [WiX-users] creatind DB and running SQL script

2009-03-12 Thread akash bhatia
luding the LOGVERBOSE=1 property on the command line might give > more information. > > > > I would also use SQL Profiler to capture what exactly is getting sent > > to the SQL Server. This will probably be enlightening. > > > > On Wed, Mar 11, 2009 at 10:34 AM, a

Re: [WiX-users] creatind DB and running SQL script

2009-03-11 Thread akash bhatia
rty on the command line might give more information. > > I would also use SQL Profiler to capture what exactly is getting sent to > the > SQL Server. This will probably be enlightening. > > On Wed, Mar 11, 2009 at 10:34 AM, akash bhatia <911ak...@gmail.com> wrote: > &g

Re: [WiX-users] creatind DB and running SQL script

2009-03-11 Thread akash bhatia
arameter inside the custom action, your script will be > applied to the correct database. > > - Don Benson - > On Wed, Mar 11, 2009 at 8:09 AM, akash bhatia <911ak...@gmail.com> wrote: > > > hi, > > > > i have a scenario as described below: > > 1. need

[WiX-users] creatind DB and running SQL script

2009-03-11 Thread akash bhatia
hi, i have a scenario as described below: 1. need to capture the DBSERVER on the fly. 2. need to capture *DBNAME* on the fly. 3. need to run a script which creates a database named *DBNAME.* *4*. need to run another sql script which uses this DBNAME and run some commands. now the problem i am fa

[WiX-users] Targeting 64 bit directory from 32 bit setup

2009-03-09 Thread akash bhatia
Hi, I am creating unified installer for both type of target machine (32 bit as well as 64 bit). Can I target 64 bit directory somehow? Actually am getting directory path from REGISTRY entry. As it gives *c:\program files\my app2* in 64 bit machine registry but while fetching the same key value

Re: [WiX-users] SUPPORTDIR for WIX

2009-03-02 Thread akash bhatia
es a pretty good job > of packaging resources for extraction when a CA fires. > > > Christopher Painter, Author of Deployment Engineering Blog > Have a hot tip, know a secret or read a really good thread that deserves > attention? E-Mail Me > > > --- On Mon, 3/2/09

Re: [WiX-users] SUPPORTDIR for WIX

2009-03-01 Thread akash bhatia
spaces.live.com > > > On Thu, Feb 26, 2009 at 6:35 AM, akash bhatia <911ak...@gmail.com> wrote: > > > Hi, > > > > i am a newbie in Wix and is using Wix 3.0 toolset currently. > > > > before, i was using installshield for creating installers. > >

Re: [WiX-users] Conditional installation of features and subfeatures by manipulating Level or using ADDSOURCE

2009-02-26 Thread akash bhatia
Hi xcjjohansen, i guess you are trying to achieve conditional install of certain features. If yes, you can try something like this on the next pushbutton of MyCustomizeDlg dialog as:- Publish Button events moreover you can add various features to Value attribute just with "," (

[WiX-users] how to add conditions to components

2009-02-26 Thread akash bhatia
Hi, how can we achieve installing particular components while some CONDITION is meet ? i mean to ask, how can we pass CONDITION to particular COMPONENT ? i require to install particular component only according to MYPROPERTY value. Regards, Akash

[WiX-users] SUPPORTDIR for WIX

2009-02-26 Thread akash bhatia
Hi, i am a newbie in Wix and is using Wix 3.0 toolset currently. before, i was using installshield for creating installers. i was wondering do we have some concept in Wix like SUPPORTDIR in Installshield. Below is what i have thought as a solution to the above:- Means, if we dont have one, we

Re: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-25 Thread akash bhatia
/msdn.microsoft.com/en-us/library/aa372497(VS.85).aspx > > > -Ursprüngliche Nachricht- > Von: akash bhatia [mailto:911ak...@gmail.com] > Gesendet: Mittwoch, 25. Februar 2009 06:58 > An: General discussion for Windows Installer XML toolset. > Betreff: [WiX-users] How

Re: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-25 Thread akash bhatia
But i can create 32 bit instaler(with 32 bit components), which i can install on the both (32 as well as 64 bit) target machine. on 64 bit machine also i will install 32 bit components only. On Wed, Feb 25, 2009 at 1:13 PM, Bob Arnson wrote: > akash bhatia wrote: > > like

Re: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-24 Thread akash bhatia
11:31 AM, Rob Mensching wrote: > MSI SDK has a list of standard Hardware Properties. That one is in there. > > akash bhatia wrote: > > Hi, > > > > How can we find for the type of target machine (32 bit or 64 bit)? > > > > Right now am checking for

[WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-24 Thread akash bhatia
Hi, How can we find for the type of target machine (32 bit or 64 bit)? Right now am checking for the existence of the folder * [WINDIR]\SysWOW64* ? Is this the right way to check for type of target machine ? Thanks, Akash --

Re: [WiX-users] update Hotkeys for custom ButtonType

2009-02-24 Thread akash bhatia
p;". > > Default='yes'> >&Next > > > Alt+N would then be the "accelerator" for the "Next" button. > > > -Original Message- > From: Richard [mailto:legal...@xmission.com] > Sent: Monday, February 23, 2009 11

[WiX-users] update Hotkeys for custom ButtonType

2009-02-22 Thread akash bhatia
hi, how can we add hotkeys for our own custom buttons ? regards, Akash -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Ente

Re: [WiX-users] Still not able to show Dialog from Managed CA

2009-02-22 Thread akash bhatia
hi, Me too... had faced this probelm. so i wrote my own Error Dialog. in managed custom action i checked for the validation and sets the properties accordingly, then on NEXT click i had called my error dialog as spawn dialog. this helped me to meet my requirements somehow moreover, if u facin