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)
Dialog Id=MyBrowseDlg Width=370 Height=270
Title=!(loc.BrowseDlg_Title)
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)
Dialog Id=MyBrowseDlg Width=370 Height=270
Title=!(loc.BrowseDlg_Title)
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)
Dialog Id=MyBrowseDlg Width=370 Height=270
Title=!(loc.BrowseDlg_Title)
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)
Dialog Id=MyBrowseDlg Width=370 Height=270
Title=!(loc.BrowseDlg_Title)
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)
Dialog Id=MyBrowseDlg Width=370 Height=270
Title=!(loc.BrowseDlg_Title)
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)
Dialog Id=MyBrowseDlg Width=370 Height=270
Title=!(loc.BrowseDlg_Title)
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
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)
Dialog Id=MyBrowseDlg Width=370 Height=270
Title=!(loc.BrowseDlg_Title)
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)
Dialog Id=MyBrowseDlg Width=370 Height=270 Title=
!(loc.BrowseDlg_Title)
, Jun 25, 2009 at 9:33 PM, Rob Mensching r...@wixtoolset.org wrote:
No, no element built in to do this.
sandun css wrote:
Hi,
I need to check whether the install derectory is empty or not.
i.e.
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFiles64Folder Name
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 sandun...@gmail.com
Hi,
I am setting a registry key, using the following code.
RegistryKey Root='HKLM' Key='Software\Microsoft\ProductName\Setup' Action='
createAndRemoveOnUninstall'
But, it don't get deleted when I uninstalled the msi.
Please advice..
Sandun
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.
Property Id=INSTALLLOCATION[%myPath]/Property
is not working. (When installing I get an error saying Could not find
network location [%myPath])
Any idea regarding
of the variable match the entries in the Name and Value fields of the
Environment table. If you want to remove an environment variable,
regardless
of its value, use the '!' syntax, and leave the Value field empty.
-Original Message-
From: sandun css [mailto:sandun...@gmail.com]
Sent
No Rob. Those don't apply.
On Thu, Jul 2, 2009 at 11:56 AM, Rob Hamflett r...@snsys.com 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 wrote:
Hi,
I set few env variables
Thanks for the replies. I was able to get it done with 'MYFLAG~=true'
approach.
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
Hi,
I set few env variables from my msi. But they don't get deleted when I
uninstall them. This is my code,
Environment Id='ENVVAR' Name='CONFIG' Action='set' Part='all'
Value='[INSTALLDIR]etc\middleware.cfg' System='yes' Permanent='no'/
What can be the problem?
Thanks,
Sandun
Hi,
I have some conditions in my msi, like the following,
Condition Message=Required prerequisite (PowerShell 1.0) is not found.
![CDATA[Installed OR (POWERSHELL = 1.0)]]
/Condition
But I need to run these conditions only if a certain parameter is set to
'true'. (i.e. msiexec /i
Hi,
I need to check whether the install derectory is empty or not.
i.e.
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFiles64Folder Name=PFiles
Directory Id=INSTALLDIR Name=My app/
/Directory
When we browse a dirctory as the install dir, I need to make sure it is
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 -
On Tue, Jun 9, 2009 at 10:17 PM, sandun css sandun...@gmail.com wrote:
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
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.
...@joyofsetup.com wrote:
sandun css wrote:
DEBUG: Error 2726: Action not found: WelcomeDlg
It means something is looking for a custom action or dialog that's not
in your .msi. What's the context of this message?
--
sig://boB
http://joyofsetup.com
, Bob Arnson b...@joyofsetup.com wrote:
sandun css wrote:
DEBUG: Error 2726: Action not found: WelcomeDlg
It means something is looking for a custom action or dialog that's not
in your .msi. What's the context of this message?
--
sig://boB
http://joyofsetup.com
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 why
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
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
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
,
Glasgow G20 0SP
Email Disclaimer
-Original Message-
From: sandun css [mailto:sandun...@gmail.com]
Sent: 20 April 2009 07:58
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installutil in wix
Hi,
Is it possible to register dlls using installutil command in wix?
Thanks
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
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
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
--
___
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
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 :(
On Wed, Mar 18, 2009 at 3:34 PM, Romeo Salayo Jr.
dfox.mxyzp...@gmail.comwrote:
try
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.
Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=
LaunchPSConfigUI(NOT REMOVE)/Publish
But, this executes the custom action
It doesn't seem to fix the problem :(
On Wed, Mar 18, 2009 at 3:34 PM, Romeo Salayo Jr.
dfox.mxyzp...@gmail.comwrote:
try this condition:
MaintenanceMode=Repair
Regards,
Romeo
sandun css wrote:
Hi,
I run a custom action when the finish button of the 'ExitDialog' is
pressed
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,
CustomAction
Hi,
I was trying to run a powershell script in powershell 64 bit version. (using
CAQuietExec64)
CustomAction Id=SetInstallScriptParameter Property=InstallScriptAction
Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1 Execute=
immediate Return=check /
CustomAction
/
try this.
sandun css wrote:
Hi,
I was trying to run a powershell script in powershell 64 bit version.
(using
CAQuietExec64)
CustomAction Id=SetInstallScriptParameter
Property=InstallScriptAction
Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1
Execute=
immediate
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 sandun...@gmail.com wrote:
Hi,
I need to execute a powershell script
Hi,
I need to execute a powershell script silently, at the uninstallation. I
used following code for that.
CustomAction Id=SetUninstallScriptParameter
Property=UninstallScriptAction Value=quot;[POWERSHELLEXE]quot;
[INSTALLDIR]scripts\Uninstall.ps1 Execute=immediate Return=check /
CustomAction
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
.
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-users] Verify the installation mode is silent
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
there is ever a way to get the user's 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 need it to install services, as the user who is logged
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
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
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
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
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
Thanks a lot for the help :)
On Wed, Feb 25, 2009 at 9:48 PM, John Nannenga
john.nanne...@microsoft.comwrote:
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-
From: sandun css
...@sitecore.net wrote:
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]
Sent: Wednesday
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
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
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,
Thanks.
I was trying with only Directory element, which doesn't create empty
folders. :)
On Fri, Feb 13, 2009 at 3:29 PM, Chris Ridd chrisr...@mac.com wrote:
On 13 Feb 2009, at 08:45, sandun css wrote:
Hi,
I need to create several folders, which don't contain any files
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
the 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 sandun...@gmail.com wrote:
Hi,
Is it possible to apply the MS office
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
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,
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,
DirectoryRef Id=ASSEMBLY
Component Id=myCompId Guid=E1BCC12B-4EAC-49D1-B59C-790366F5EEE9
File Name=Cmdlets.dll
61 matches
Mail list logo