Re: [WiX-users] Parsing properties

2008-07-01 Thread Nitin Chaudhari
String manipulation is not supported in WIX, you will have to write a C++/.net/vbs custom action to get substring. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric Viollet Sent: Tuesday, July 01, 2008 3:41 PM To: General discussion for Windows Ins

[WiX-users] Is msi being executed with "Runas"?

2008-03-26 Thread Nitin Chaudhari
How can i determine if my setup program was invoked using "runas" option? In most of the cases, my setup is given to a user who does not have admin rights, so an administrator does a runas to install the program, which means all HKCU settings go to that admin and not to the user. If it is possibl

[WiX-users] executing CA with logged on user not runas user

2008-03-11 Thread Nitin Chaudhari
Hi, In my scenario, most of the time the user who wants to install does not have administrator priviledges, so an Administrator does a runas and executes the setup for the user, when setup completes it launches excel.exe, however the username for this process is administrator and not the original

[WiX-users] FilePath manipulation in WIX

2007-10-19 Thread Nitin Chaudhari
Hi, I can do a registrysearch and obtain a path like : D:\Program Files\Microsoft Office\OFFICE11\ADDINS\OTKLOADR.DLL Once I have this path I want to split it in directory (D:\Program Files\Microsoft Office\OFFICE11\ADDINS) and file (OTKLOADR.DLL) and then use it in directorysearch and file

[WiX-users] RegistrySearch with empty registrykeys

2007-10-18 Thread Nitin Chaudhari
Hi, I want to check if a Key exists, it may or may not have any values or subkeys in it, so I tried the following I am including the Name attribute since I don't want to check for anything.. I just want to confirm that the path SOFTWARE\Microsoft\Office\Excel\ exists, how can I do that

Re: [WiX-users] How to add newline in

2007-10-17 Thread Nitin Chaudhari
I got the answer you have to write it like this mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 11:09 AM To: Nitin Chaudhari Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to add newline in (NOT Priviledged) AND MsiNetAssemblySupport <= "2.0.50727" BTW

[WiX-users] How to add newline in

2007-10-17 Thread Nitin Chaudhari
Hi, I tried the following, but it doesn't work (NOT Priviledged) AND MsiNetAssemblySupport <= "2.0.50727" How to display message in multiple lines. Thanks, Nitin DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Per

[WiX-users] Dialog disappearing instantly

2007-10-17 Thread Nitin Chaudhari
Hi, I have the following in UI sequence Now the problem is I can see the PrereqCheck dialog, but it instantly disappears and the Installing dialog is shown. Is there any way I can block the Installing dialog and force the user to do some action in PrereqCheck dialog? Thanks, Nit

[WiX-users] NOT PRIVILEDGED Condition

2007-10-16 Thread Nitin Chaudhari
Hi, I created a default Limited user account in windows XP and my wxs has NOT PRIVILEDGED Inspite of this, when I start installing, it does not prompt, and then when my the msi tried to access HKCR it throws error Msiexec log is as follows : MSI (s) (20:60) [18:00:52:378]: Skipping App

Re: [WiX-users] error dialog issue

2007-05-30 Thread Nitin Chaudhari
By sync i ment, how can I execute tasks by order. Can I ensure that dialog in InstallUISequence is shown only after some custom actions in InstallExecuteSequence are executed. Thanks, Nitin On 5/30/07, Bob Arnson <[EMAIL PROTECTED]> wrote: > Nitin Chaudhari wrote: > > Although th

[WiX-users] error dialog issue

2007-05-29 Thread Nitin Chaudhari
Hi, My Error Dialog is as follows: Although the Pushbutton is place at X=278 and the form is of width 370, it still appears center of the dialog (screenshot attached)

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Nitin Chaudhari
xactly the same thing. I have custom action (that runs as immediate) that will create the GUID and will fill some property with this GUID. This guid is used in Registry element - it is written to the registry. (functions to search: UuidCreateSequential UuidToString ) Regards Stefan Nitin Cha

[WiX-users] changing setup at runtime

2007-04-20 Thread Nitin Chaudhari
Hi, I need to add some information to my setup at runtime. So that every user who downloads the setup, get a unique setup. Basically I need to embedded a GUID in the setup, and when it runs, I want to write this guid to registry or some file. Any pointers on how to achieve this. I heard about ch

Re: [WiX-users] Run button Vs Install Button

2007-04-17 Thread Nitin Chaudhari
If I deploy some application through click once then i do get Install/Dont Install Dialog. Whats happening there? The browser used is same. So there has to be something based on which browser interprets the file. - Nitin On 4/16/07, Bob Arnson <[EMAIL PROTECTED]> wrote: Nitin Cha

[WiX-users] Run button Vs Install Button

2007-04-15 Thread Nitin Chaudhari
Hi, This may be a little outside wix, but I dont know the related mailing list, so I am posting it here. I used Wix and created a setup. Now, I want my users to download it from a website, so I have provided a link to my msi. However the user experience is as follows : 1. Click Link 2. Open, Sa

Re: [WiX-users] Changing property value at runtime SOLVED

2007-04-10 Thread Nitin Chaudhari
on <[EMAIL PROTECTED]> wrote: Nitin Chaudhari wrote: > I have still not found any solution to the following problem, I tried > using a C++ custom action DLL, but even that changes the server side > property. Please give me some information at least... so that I can > think of som

Re: [WiX-users] install as standard user

2007-04-10 Thread Nitin Chaudhari
I cant touch ProgramFilesFolder??, then how come a visual studio setup runs fine (as standard user) even when installing to ProgramFilesFolder? On 4/9/07, Bob Arnson <[EMAIL PROTECTED]> wrote: Nitin Chaudhari wrote: > For some reason my installation currently requires admin

Re: [WiX-users] Changing property value at runtime

2007-04-09 Thread Nitin Chaudhari
Hi, I have still not found any solution to the following problem, I tried using a C++ custom action DLL, but even that changes the server side property. Please give me some information at least... so that I can think of some workarounds. - Nitin Chaudhari On 4/2/07, Nitin Chaudhari <[EM

[WiX-users] install as standard user

2007-04-08 Thread Nitin Chaudhari
Hi, For some reason my installation currently requires administrative priviledges. I want to pull that down to standard user. Are there any checks I should be doing? I want to find out what is forcing my installation to ask for admin. - Nitin -

[WiX-users] execute exe from URL

2007-04-08 Thread Nitin Chaudhari
Hi, I want to install Internet Explorer Administration Kit ( http://www.microsoft.com/technet/prodtechnol/ie/ieak/default.mspx) with my setup. Anyone knows how to add it to pre-requisites (Visual Studio bootstrapper)? I dont want to package it with my setup. Other option is, I download it from

Re: [WiX-users] dot Net Custom actions

2007-04-05 Thread Nitin Chaudhari
You can run dot net code during installation, although there are some reason why you should not. I have been executing .net code in my installation for quite a while now Anyways here how to do it : Include the following In a class library project, add a installer class. Check out http://g

Re: [WiX-users] Changing property value at runtime

2007-04-02 Thread Nitin Chaudhari
;[EMAIL PROTECTED]> wrote: No, but it depends on where all the other action are scheduled. *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Nitin Chaudhari *Sent:* Monday, April 02, 2007 7:09 AM *To:* wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] Changing propert

Re: [WiX-users] Change Add/Remove Programs icon

2007-04-02 Thread Nitin Chaudhari
I got the icon, I was using 32x32 icon, i replaced that with 16x16 pixels icon and it works :) On 3/27/07, Nitin Chaudhari <[EMAIL PROTECTED]> wrote: No icons for me yet. I copied the 3 lines in my wxs and placed a .ico file in the same place where I had wxs and set the SourceFile value

Re: [WiX-users] Changing property value at runtime

2007-04-02 Thread Nitin Chaudhari
ed the property on the server side of the Windows Installer and used the Property on the client side of the install. Where did you sequence your actions (i.e. where did you put the Custom elements)? *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Nitin Chaudhari *Sent:* Monday,

[WiX-users] Changing property value at runtime

2007-04-02 Thread Nitin Chaudhari
rong here? Thanks, Nitin Chaudhari - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics throug

[WiX-users] RegistrySearch??

2007-04-02 Thread Nitin Chaudhari
In one of my registry keys the system has following strings OPEN REG_SZvalue OPEN1REG_SZvalue1 OPEN2REG_SZvalue 2 now how do i find out that the next name should be OPEN3? On target machine, there may be OPENn (n could be any number) how can i derive OPENn+1 Thanks, Niti

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-26 Thread Nitin Chaudhari
hmmm right, i am trying to embedded the icon, but for some reason, it is not getting embedded, i am using VS2005 C#. I added the icon as a resource in my dll project. On 3/27/07, Justin Dearing <[EMAIL PROTECTED]> wrote: You can give a DLL an icon why not try that? On 3/27/07, Nitin Cha

[WiX-users] Wix votive stable version

2007-03-26 Thread Nitin Chaudhari
Hi all, I am planning to use votive, however the wix website tells me that v2.0votive is not maintained and that users should go with votive 3.0 Again wix 3.0 is marked as unstable so which is the best combination to use. I dont wan to risk anything by using unstable builds. Thanks, Nitin. -

Re: [WiX-users] How do i embedd and install a 3rd party msi (eg directx or wse runtime) if not already installed

2007-03-26 Thread Nitin Chaudhari
When I first started off with installer, I was thinking of using NSIS too, but I guess if you want to save on time and effort, go with visual studio setup project, set your pre-requisites i.e all ur other MSIs, u can configure these MSI's to be installed from ur own server or a particular location

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-26 Thread Nitin Chaudhari
on you are using happens to be the assembly icon for one of your exes you can do it like I do. This is what I do: MainExecutable On 3/27/07, Nitin Chaudhari <[EMAIL PROTECTED]> wrote: > No icons for me yet. I copied the 3 lines in my wxs and placed a .ico file > in the same place w

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-26 Thread Nitin Chaudhari
in order for this to show up... see http://support.microsoft.com/kb/q258558/ That last one took me awhile! Thanks, Bob - Original Message From: Nitin Chaudhari <[EMAIL PROTECTED]> To: Bob Whiton <[EMAIL PROTECTED]> Sent: Monday, March 26, 2007 10:42:06 AM Subject:

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-26 Thread Nitin Chaudhari
Even I would love to change the icons for my installation. I tried the wrote: You definitely can change the Add/Remove Programs icon (MSI SDK for "ARPPRODUCTICON" Property or something like that). The top left... don't think so, but never tried. -Original Message- From: [EMAIL PROTECT

Re: [WiX-users] wix, C# installer class, uninstall

2007-03-26 Thread Nitin Chaudhari
ting after Install. Which should not be the case. It should execute when I click cancel installation button in my UI – which is currently as follows : 1 Thanks, Nitin. On 3/23/07, Dana Gutride <[EMAIL PROTECTED]> wrote: Are they not being executed or are you getting an error i

Re: [WiX-users] public properties, saving state

2007-03-22 Thread Nitin Chaudhari
9:08:36: LaunchExcel. Return value 1631. Property(C): INSTALLDIR = C:\Program Files\GSR\Addin\ Property(C): *EXCEL_PROGRAM = DUMMY.EXE* Property(C): TARGETDIR = F:\ … The property was changed, but still while executing LaunchExcel it is being shown as DUMMY.EXE Any idea what is going wrong h

Re: [WiX-users] wix, C# installer class, uninstall

2007-03-22 Thread Nitin Chaudhari
ave you tried something like this: > > >After="MsiUnpublishAssemblies">INSTALLED > > > This should execute the action only if the product is installed. > > ____ > > From: [EMAIL PROTECTED] > [mailto: [EMAIL PR

[WiX-users] wix, C# installer class, uninstall

2007-03-22 Thread Nitin Chaudhari
I am using a C# installer class, during installation, I am able to call my C# install function, however I am not able hook uninstall in wix to call my C# uninstall function. In Wix, I am using the following XML to hook uninstall... but the MSI log shows that this custom action is being invoked du