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
Hi
Here is the problem I have:
I using WIX project to generate a 64 bit MSI. I am using Clickonce Bootstrapper
packages. So the WIX project creates SetUp.Exe and SetUp.MSI. The problem i
have is When i run the SetUp.MSI alone it says that all the prerequisites are
present (and yes they are
Deferred CustomActions can run non-Impersonated and then they are
elevated (assuming the MSI UAC prompt was accepted).
Scott Sam wrote:
I've used dtf to create some custom actions that execute deffered. The
problem that I'm having is that these CA's need to be run with elevated
privileges.
Just a thought... In the past, I decided to put database management out of the
installer Wix-part. The installation of the database was not the issue, but
once you need to maintenance the troubles start. You'll need to determine the
database version, make the necessary upgrades to the
I don't think 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 in
Hi,
I've created an MSI using Votive and have amended the WiX project file to
build a bootstrapper after build following a guide of the WiX site. The
WinForms app the MSI installs requires .NET v2, which is installed by the
bootstrapper as per below:
ItemGroup
BootstrapperFile
Thanks, the -sfrag switch helped.
But there is a new problem.
The automatic generated File have following content:
?xml version=1.0 encoding=utf-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Fragment
Directory Id=Debug Name=Debug
There a many Files, Directorys
Yes. I could get the user name as [LogonUser]. But, I need that value to be
in another property. (i.e.
Property Id=MYPROP Value=[LogonUser]/
)
But, the above code doesn't work. How can I achive it ?
On Fri, Feb 27, 2009 at 4:27 PM, Rob Mensching r...@wixtoolset.org wrote:
I don't think there
Hi
I had the similar issue.. In the bootstrapper Package I combined X86 and X64
together and that worked...
Thank you
Anweshi
From: Ben Cheetham b...@softfooding.com
To: wix-users@lists.sourceforge.net
Sent: Friday, February 27, 2009 3:59:03 PM
Subject:
Hi Everyone,
I am a newbie to Wix and i'm using .NET 2.0, Visual Studio 2005, Wix 2.0.
I need to check to some of the conditions before my application starts the
installtion. It should check for .NET 2.0 or higher version if not found it
should install it.
I used the help from
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
You should use Type 51 (set a property) custom action for this:
http://msdn.microsoft.com/en-us/library/aa368237(VS.85).aspx#
-- Yan
-Original Message-
From: sandun css [mailto:sandun...@gmail.com]
Sent: Friday, February 27, 2009 2:04 PM
To: wix-users@lists.sourceforge.net
Subject:
Leave your Product.wxs as is, don't include DirectoryRef under
Directory, but instead wrap your generated fragment contents into
DirectoryRef, something like this:
Fragment
DirectoryRef Id=INSTALLLOCATION
Directory Id=Debug Name=Debug
.
/Directory
/DirectoryRef
/Fragment
SetProperty. Have you read any of the documentation? Many of the
questions you've asked could be answered by spending a little time
working through the available documentation.
sandun css wrote:
Yes. I could get the user name as [LogonUser]. But, I need that value to be
in another property.
Heat isn't designed to work in a CI system today.
Bahn Thomas wrote:
Yes, this works.
How i can use this in a buildserver for continous integration?
I create the Gernerated.wxs automatic by the buildserver. It overwrite my
changes in the file.
Von:
Hi,
Combine them how? Do you mean you actually combined the files into one
single executable?
Thanks,
Ben
-Original Message-
From: Anu Dev [mailto:queryl...@yahoo.com]
Sent: 27 February 2009 11:38
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Bootstrap x86 + x64
is there a way to get a dll.config file deployed along side a gac destined
file, e.g. a File .../ entry with Assembly=.net defined?
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC
Hi
When you install Visual Studio on your machine you will have the Bootstrapper
packages (like for .Net Franework , SQL Express etc) already created.. You can
utilize them... they perform all the checks.. and if you need you can customize
it
Thank you
Anweshi
I have created a WiX 3.0 (Windows Installer XML Toolset, Version 3.0.4526.0)
installer to install a Windows WCF Service. When I install the service under a
domain account (my credentials) I get the following failure:
Product: IDSService -- Error 1923. Service 'IDSService' (IDSService) could not
It's my understanding there's still an issue. The launched program is running
as limited Administrator. If it offers anything that can Shell launch an
executable that has a requiresAdministrator manifest then that program will
then prompt to elevate to administrator. A file Browse dialog might
Did you check to make sure your account has log on as a service rights?
Pierson Lee (PIE) wrote:
I have created a WiX 3.0 (Windows Installer XML Toolset, Version
3.0.4526.0) installer to install a Windows WCF Service. When I install the
service under a domain account (my credentials) I get
Yes, but that should give me an error Service Failed to start.
util:User Id=ServiceUser Name=[SERVICE_USERNAME] Domain=[SERVICE_DOMAIN]
CreateUser=no LogonAsService=yes /
-Original Message-
From: cemiles [mailto:chad.mi...@gmail.com]
Sent: Friday, February 27, 2009 11:06 AM
To:
Hello all,
I'm attempting to upgrade from wix 3.0.2925.0 to 3.0.5020.0 but now I'm
getting this error message:
A string was provided which does not match the specified database codepage
'1252'. Either set your database codepage to match these characters, or
change these characters to ones that
Thanks that did it.
-Original Message-
From: Rob Mensching [mailto:r...@wixtoolset.org]
Sent: Friday, February 27, 2009 5:42 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] running deffered managed custom actions with
elevated privileges
Deferred
Wilson, Phil wrote:
It's my understanding there's still an issue. The launched program is running
as limited Administrator. If it offers anything that can Shell launch an
executable that has a requiresAdministrator manifest then that program will
then prompt to elevate to administrator.
Aaron Carlson wrote:
A string was provided which does not match the specified database codepage
'1252'. Either set your database codepage to match these characters, or
change these characters to ones that exist in the database's codepage.
I was able to narrow the error down to having the
Hey Akash,
I haven't used InstallShield since version 11 but don't remember that
directory. You can create a Directory Id=SUPPORTDIR Name=SupporDir /
element inside your directory structure.
Thanks,
Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com
On Thu, Feb
Is there CAQuietExec64 on Wix2?
http://wix.sourceforge.net/manual-wix3/qtexec.htm
It doesn't look like and attempting to use it doesn't produce any results.
So is there any way at all to run scripts in 64-bit on Wix2 besides creating
your own 64bit DLL?
--
Oleksandr Lozitskiy
Wealth is the
Seems wix doesn't favor advertising using class tables for COM components.
Though it allows advertising, it is not a big supporter of that feature. But,
when validating my MSI using ORCA, I get a lot of ICE33 validation warnings (if
I don't advertise). Is there a way I can suppress this ICE33
Hi Brian,
Many thanks.
I took your advice and made the code change. It works now.
Here is the working code:
Component Id=CopyAppIcoFile Guid=97B5836B-E1AB-4910-8C00-91EE2A25F399
CopyFile Id=MyCopyFiles
FileId=FILE_APPICO
DestinationProperty=FOLDER_IMAGES /
Our service deliverable msi is installing a biztalk 2009 application. As is
the case with all things bts everything it uses needs to get deployed to the
gac.
One of those bts resource dll's makes use of the vs08 settings designer/api for
externally exposing runtime settings you want to be
can I expect that a ServiceControl Id=BtsSvc
Name=BTSSvc$BizTalkServerApplication Start=both Stop=both Wait=no /
entry without the Remove attribte specified just handles start/stop behavior of
an existing service and does not try and install and/or remove it?
Thanks John for the investigation, it wasn't obvious to me before what the root
cause was. So... what this means is, SfxCA just doesn't support subdirectories
in the CA package. Perhaps I should have documented that limitation but
honestly I think it was an oversight in the implementation and
Oh Biztalk, yet another Microsoft product that didn't think about
deployment properly. Sorry for being cynical and unhelpful but this one
has bitten me before!
Neil
-Original Message-
From: Robert O'Brien [mailto:robert.obr...@microsoft.com]
Sent: 27 February 2009 23:10
To: 'General
Hi,
I am not sure if this is a wix question. But I prefer to get some advise from
the setup expert here.
I want to make an msi to install files (application.exe and
application.exe.config) into Program Files Folder, and then from msi to launch
another application to modify the
Hello,
If the WiX installer project is using one MSM + other files in it, is it
possible to overwrite the file that was included in MSM in WiX?
Ex:
My WiX 3.0 installer project is using one MSM file (Framework binaries and
files like html) + the binaries and files of the application, which
36 matches
Mail list logo