[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

[WiX-users] Shortcuts do not get removed

2009-08-24 Thread sandun css
Hi, I add a start menu item from the msi. I create a quick launch item by right clicking on that start menu item. When I uninstall the msi, the start menu item gets removed. But not the quick launch icon. Is there a way that I can remove it as well? (I don't need to install quick launch from the

[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

[WiX-users] Check input characters of install path

2009-08-23 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

[WiX-users] Check input characters of install path

2009-08-23 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

[WiX-users] Check input characters of install path

2009-08-23 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

Re: [WiX-users] Check input characters of install path

2009-08-23 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

[WiX-users] Check input characters of install path

2009-08-23 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

Re: [WiX-users] check Installdir is empty

2009-08-11 Thread sandun css
It seems I can get that job done like this. But, the property always gets set to "C:\". I wonder how to use 'DirectorySearch' to verify the install dir is empty or not. Any ideas? On Thu, Jun 25, 2009 at 9:33 PM, Rob Mensching wrote: > No, no element built in

Re: [WiX-users] Env variables don't get deleted

2009-08-03 Thread sandun css
I don't get this problem always. I installed and uninstalled the msi multiple times without any problem. But after few attempts, I noticed that the env variable had not got removed. Might this be a problem with WindowsInstaller ? On Fri, Jul 3, 2009 at 2:57 PM, sandun css wrote: > Th

[WiX-users] Registry key don't get deleted.

2009-07-27 Thread sandun css
Hi, I am setting a registry key, using the following code. But, it don't get deleted when I uninstalled the msi. Please advice.. Sandun -- ___ WiX-users mailing list WiX-us

[WiX-users] Read install location from an env variable

2009-07-16 Thread sandun css
Hi, I need to install my msi to a certain location. That location is read from an env. variable. I am not quite sure how to do it. [%myPath] is not working. (When installing I get an error saying "Could not find network location [%myPath]") Any idea regarding this? Thanks, Sandun -

Re: [WiX-users] Env variables don't get deleted

2009-07-03 Thread sandun css
t; > remove >Removes the environment variable during an installation. The installer > only removes an environment variable during an installation if the name and > value of the variable match the entries in the Name and Value fields of the > Environment table. If you want to re

Re: [WiX-users] Env variables don't get deleted

2009-07-02 Thread sandun css
No Rob. Those don't apply. On Thu, Jul 2, 2009 at 11:56 AM, Rob Hamflett wrote: > Setting Permanent="yes" on the Component or forgetting to give it a GUID > would make the env var > change permanent. Do either of these apply? > > Rob > > sandun css

[WiX-users] Env variables don't get deleted

2009-07-01 Thread sandun css
Hi, I set few env variables from my msi. But they don't get deleted when I uninstall them. This is my code, What can be the problem? Thanks, Sandun -- ___ WiX-users mail

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread sandun css
Thanks for the replies. I was able to get it done with 'MYFLAG~="true"' approach. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists

[WiX-users] Boolean paramaters

2009-06-30 Thread sandun css
Hi, I have some conditions in my msi, like the following, But I need to run these conditions only if a certain parameter is set to 'true'. (i.e. msiexec /i installer.msi MYFLAG=true) Are there boolean parameters, or do I need to treat 'true' and 'false' valuse as strings? Thanks, Sandun

[WiX-users] check Installdir is empty

2009-06-23 Thread sandun css
Hi, I need to check whether the install derectory is empty or not. i.e. When we browse a dirctory as the install dir, I need to make sure it is empty. Is there a tag in WiX to do this? Thanks, Saman --

[WiX-users] Check INSTALLDIR is empty or not

2009-06-11 Thread sandun css
Hi, I need to install my msi to an empty directory. (Without creating a new directory.) So, is there a way in WiX to verify whether the browsed 'INSTALLDIR' is an empty one or not? Thanks, Sandun -- Crystal Reports - New

Re: [WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
quot; Value=" CommonProgressDlg" Order="2">1 Thanks a lot. Sandun On Wed, Jun 10, 2009 at 4:58 PM, Bob Arnson wrote: > sandun css wrote: > > DEBUG: Error 2726: Action not found: WelcomeDlg > > > > It means something is looking f

Re: [WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
; Finish Is it possible to show progress dialog after the InstallDir dlg? (i.e. Is that possible to remove Verify Ready dlg?) Or is it needed to have the Verify Ready dialog always? 1 Thanks a lot. Sandun On Wed, Jun 10, 2009 at 4:58 PM, Bob Arnson wrote: > sandun css wrote: > > DE

[WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
Hi, I install my msi using the following command. msiexec /i installer.msi /l test.log The installation was successful, but I found the following entry in the log file. DEBUG: Error 2726: Action not found: WelcomeDlg The installer has encountered an unexpected error installing this package. Th

Re: [WiX-users] UAC dialog poping up

2009-06-10 Thread sandun css
- Me > http://icumove.spaces.live.com > > > On Tue, Jun 9, 2009 at 10:17 PM, sandun css wrote: > > > by setting Package/@*InstallScope* ="perMachine", I specified that the > msi > > package requires elevated privileges to install. > > Although

Re: [WiX-users] UAC dialog poping up

2009-06-09 Thread sandun css
by setting Package/@*InstallScope* ="perMachine", I specified that the msi package requires elevated privileges to install. Although I specify this, the UAC dialog appears just before msi starts installing files. (i.e. Welcome dialog -> Licence Agreement -> Install Dir -> UAC) I am not quite sure w

[WiX-users] UAC dialog poping up

2009-06-07 Thread sandun css
Hi, When I run my installer, the UAC dialog appears just before the installer starts copying files. Is there a way to make it appear at the start of the msi. (before welcome page) ? I am running the msi as an Administrator. Thanks, Saman ---

[WiX-users] Speedup build process

2009-06-03 Thread sandun css
Hi, It takes around 30 minutes to build my msi. I learnt that it is possible to reduce the time by, - Increasing the cab files count. - lowering the compression ratio - removing ICE validation - reusing cabs I was able to increase the cab files count and lower the compression ratio

Re: [WiX-users] Installutil in wix

2009-04-20 Thread sandun css
501 > > http://www.iesve.com > **Design, Simulate + Innovate with the ** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, > Glasgow G20 0SP > Email Disclaimer &

[WiX-users] Installutil in wix

2009-04-20 Thread sandun css
Hi, Is it possible to register dlls using installutil command in wix? Thanks, Sandun -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on th

[WiX-users] Problem reading Environment variables

2009-04-03 Thread sandun css
Hi, I set few environment variables from my wix installer, and refer them from a console application (C#), whcih gets launched at the end of my WiX installer. (I have a custom action to launch that console app, when the user presses the 'Finish' button of the msi) But my console application fails

[WiX-users] Register com objects

2009-03-29 Thread sandun css
Hi, Is there a way in WiX, to register a COM object, without using custom actions? Thanks, Sandun. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.so

Re: [WiX-users] Delete installation folder

2009-03-26 Thread sandun css
Hi, Thanks for the replies. I tried with both the approaches. But they remove only the installed fils. Logs and other generated files doesn't seem to removing. Sandun -- ___ Wi

[WiX-users] Delete installation folder

2009-03-25 Thread sandun css
Hi all, When I uninstall my application all the installed files get removed. But some files do not get removed since they were generated after the installation. (log files etc..) I need to delete those as well. I tried with 'RemoveFolder' element as well. But it doesn't remove folders when they c

Re: [WiX-users] Push button custom action problem

2009-03-20 Thread sandun css
lso needs to run on Install mode: > > Not Installed or MaintenanceMode = "Repair" > > or > > Not Installed or MaintenanceMode = "Modify" > > Regards, > Romeo > > > sandun css wrote: > > > > It doesn't seem to fix the problem

Re: [WiX-users] Push button custom action problem

2009-03-18 Thread sandun css
It doesn't seem to fix the problem :( On Wed, Mar 18, 2009 at 3:34 PM, Romeo Salayo Jr. wrote: > > try this condition: > > MaintenanceMode="Repair" > > Regards, > Romeo > > > sandun css wrote: > > > > Hi, > > > > I run a cu

[WiX-users] Push button custom action problem

2009-03-18 Thread sandun css
Hi, I run a custom action when the finish button of the 'ExitDialog' is pressed. But I need to run that custom action only in the install and repair modes. (NOT REMOVE) But, this executes the custom action in the uninstallation as well. How can I resolve it? Thanks, Sandun --

Re: [WiX-users] Running 64-bit executables silently

2009-03-16 Thread sandun css
Hi Michael, I tested with your code. But the installer failed. found following lines in the log. CAQuietExec64: Error 0x80070057: failed to get command line data CAQuietExec64: Error 0x80070057: failed to get Command Line Then I modified it as follows, This code starts a powershell proce

Re: [WiX-users] Running 64-bit executables silently

2009-03-16 Thread sandun css
Hi Michael, Thanks for the reply. I tryed with this, But it doesn't run the powershell script. don't I need the following action? On Mon, Mar 16, 2009 at 5:07 PM, Michael wrote: > Hi, > > Value=""[POWERSHELLEXE]" [INSTALLDIR]scripts\Install.ps1"

[WiX-users] Running 64-bit executables silently

2009-03-16 Thread sandun css
Hi, I was trying to run a powershell script in powershell 64 bit version. (using CAQuietExec64) But, this doesn't seem to be working! How to get it done? Thanks, Sandun -- Apps built with the Adobe(R) Flex(R) framew

Re: [WiX-users] Execute a powershell script in x64

2009-03-13 Thread sandun css
I could learn that, this was possible a custom action which uses a VB script. But I am not familiar with VB scripts. Please advice me how to do it? Is there any better way? Thanks On Mon, Mar 9, 2009 at 10:17 AM, sandun css wrote: > Hi, > > I need to execute a powershell script sil

[WiX-users] Execute a powershell script in x64

2009-03-08 Thread sandun css
Hi, I need to execute a powershell script silently, at the uninstallation. I used following code for that. But the problem is, this runs the script in powershell (x86). But I need to get it run in x64. How can I achive this? Thanks, Sandun ---

Re: [WiX-users] Verify the installation mode is silent or not.

2009-03-05 Thread sandun css
e UILevel property. > http://msdn.microsoft.com/en-us/library/aa372096(VS.85).aspx > > -Brian Simoneau > > -Original Message- > From: sandun css [mailto:sandun...@gmail.com] > Sent: Thursday, March 05, 2009 5:26 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-us

[WiX-users] Verify the installation mode is silent or not.

2009-03-05 Thread sandun css
Hi, My installer launches a 'Windows Forms Application' when the user presses the installation finish button. But if the installer is executed in the silent mode, (msiexec /i installer.msi /q) I don't want to launch that application. In the silent mode I have to execute a console application sile

[WiX-users] Setting default value of a property

2009-02-27 Thread sandun css
Hi, I have a property called 'USERNAME'. I need to set its default value to the 'LogonUser'. (user name) How can I do that? Sandun. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC ta

Re: [WiX-users] How to get the current user in WiX?

2009-02-27 Thread sandun css
password as plain > text. The user's name is in a standard MSI Property. > > sandun css wrote: > > Is there a way to get the current user's name and password in the wix > code? > > > > I

[WiX-users] How to get the current user in WiX?

2009-02-27 Thread sandun css
Is there a way to get the current user's name and password in the wix code? I need it to install services, as the user who is logged in -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC

Re: [WiX-users] Excute an application from wix

2009-02-27 Thread sandun css
Thanks for the help -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs

[WiX-users] Excute an application from wix

2009-02-26 Thread sandun css
Hi, I need to run an application after the user presses the finish button. Is there a simple way to do that, in WiX v3? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the bigg

[WiX-users] Install pre-requisites from server manager features

2009-02-26 Thread sandun css
Hi all, There are few pre-requisites for my application, which will be installed on a Windows server 2008 machine. Most of those pre-requisites are there in the ServerManager features and roles. Is there a way in wix, to verify whether those features are installed, and to install them if not fou

Re: [WiX-users] Delete folders

2009-02-26 Thread sandun css
move, and then include it into > your project. > > -- Yan > > -Original Message- > From: sandun css [mailto:sandun...@gmail.com] > Sent: Thursday, February 26, 2009 7:37 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Delete

Re: [WiX-users] Delete folders

2009-02-25 Thread sandun css
: > MSI supports this via RemoveFile table: > http://msdn.microsoft.com/en-us/library/aa371201.aspx. > WiX wraps this into RemoveFile and RemoveFolder elements (see docs on > this). > > -- Yan > > -Original Message- > From: sandun css [mailto:sandun...@gmail.com] >

Re: [WiX-users] Define constants

2009-02-25 Thread sandun css
Thanks a lot for the help :) On Wed, Feb 25, 2009 at 9:48 PM, John Nannenga wrote: > Take a peek at the "Preprocessor" section in the WiX.chm file. It has all > sorts of information in this regard, complete with examples. > > > -Original Message- > Fro

[WiX-users] Define constants

2009-02-25 Thread sandun css
Hi, I need to use a certain value in multiple places of the WiX code. Therefore, when that value gets changed, I have to do that change in many places. Is there a way that I can define constant variables kind of thing? I think using the 'Property' element is not suitable here, since Property val

[WiX-users] Delete folders

2009-02-25 Thread sandun css
Hi, When I uninstall my application, all the folders which were created after the installation remains without getting deleted. How can I delete those folders? Can't I delete all the folders exist in the Install directory ? If so, how to do it? Thanks, Sandun

[WiX-users] Get machine name in wix

2009-02-23 Thread sandun css
Hi, How to get the name and full name of the target machine, in wix ? Thanks -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing th

[WiX-users] Wix-warning

2009-02-19 Thread sandun css
Hi, I get the following warning when I build my msi package. warning SMOK1076 : ICE60: The file 'MyFileId' is not a Font, and its version is not a companion file reference. It should have a language specified in the Language column. That file is a dll. Please advice me why this warning occur an

[WiX-users] Writing WiX Tests

2009-02-19 Thread sandun css
Hi, In the Wix documentation I found something called 'smoke'. Please advice me what is that and how can I write my own tests to test the Wix code? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25, 20

[WiX-users] Wix testing

2009-02-19 Thread sandun css
Hi, Is there a way that I can write some test code for wix testing ? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sour

Re: [WiX-users] Creating empty folders

2009-02-15 Thread sandun css
Thanks. I was trying with only element, which doesn't create empty folders. :) On Fri, Feb 13, 2009 at 3:29 PM, Chris Ridd wrote: > > On 13 Feb 2009, at 08:45, sandun css wrote: > > > Hi, > > > > I need to create several folders, which don't contain any f

[WiX-users] Creating empty folders

2009-02-13 Thread sandun css
Hi, I need to create several folders, which don't contain any files at the installation. Is this possible in wix? If so, how to do it? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25, 2009, San Franc

Re: [WiX-users] Apply office look and feel to the wix dialogs

2009-02-12 Thread sandun css
he full experience. You would have to go > further to handling your own external UI. > > Thanks, > > Brian Rogers > "Intelligence removes complexity." - Me > http://icumove.spaces.live.com > > > On Wed, Feb 11, 2009 at 8:38 PM, sandun css wrote: > > >

[WiX-users] create environment variables

2009-02-11 Thread sandun css
Hi, I need to create few environment variables during the installation. Please advice me how to do it? Sandun -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax

[WiX-users] Apply office look and feel to the wix dialogs

2009-02-11 Thread sandun css
Hi, Is it possible to apply the MS office look and feel to the wix dialogs? If so, how can I do it? Thanks, Sandun -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR,

[WiX-users] Install Power Shell snappin failed.

2008-11-28 Thread sandun css
Hi, I was trying to install a powershell snapping using wix. So I added 'xmlns:ps="http://schemas.microsoft.com/wix/PSExtension";' and wrote some code like this, But, When I install the msi, it doesn't install the snappin.