Hi,
The Following is the updated code i am using:
*Id='Cxyz' Name='Cxyz.exe' DiskId='1' src='Cxyz.exe'
TypeLib Id={GUID} Advertise=no Description=XYZ Library
MajorVersion=1 MinorVersion =0 Language=1
Interface Id={GUID} Name=Ixyz NumMethods=9 ProxyStubClassId={GUID}
ProxyStubClassId32={GUID}
You could mark the component as permanent. It won't get uninstalled and so
will leave the reg entry
alone.
Rob
Harvey Werner wrote:
I need to set a registry value to null on a key that was created during
the install of another product's msi. How do I do that?
I tried the following. It
Set [EMAIL PROTECTED]hidden. You should be aware that whether or not a
feature is displayed to the
user does not control whether or not it is installed. I'm also not sure if you
can change this on
the fly.
Rob
Magus wrote:
If I wanted a feature to not be displayed when the User gets to
Hello,
I am trying to rename a file that is coming with my installer. The new name
of the file should be based on a value set by the user in one of the
dialogs. So far I've tried different combinations of File and CopyFile but
with no luck.
Is there a way to do this using WiX?
My WiX version:
That sounds dangerous. What if that component gets installed twice, but on
each occasion the user
specifies a different name?
Rob
Sorin Radulescu wrote:
Hello,
I am trying to rename a file that is coming with my installer. The new name
of the file should be based on a value set by the
I have also noticed this bug. Oddly enough it is happening during an
upgrade only. During our initial install when we create the database, this
doesn't happen. During the upgrade, the user can select the database to
upgrade, 10-15 SqlScripts are all run against it and I see the same error.
It
I am developing a setup using Votive and WiX v3. But now I want use
selfdefined variables in my own wixlib. Therefore I added a new .wxi
file to my .wixlib solution. At the moment it contains one variable:
?xml version=1.0 encoding=utf-8?
Include
?define appIcon = .\Bitmaps\icon.ico ?
Rob, thanks for your reply.
I have this file that I want to rename that acts like a template and I have
to rename it based on the user's input. I don't see a problem if the user
specifies different names on each occasion - in fact this is how it should
work. Is any danger in this?
Thank you,
To use the stuff defined in an Include file, you need to ?include? it. Check
out the documentation on the Preprocessor.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Torsten Rudnick
Sent: Wednesday, November 29, 2006 06:13
To:
CopyFile has to live in a component, and it will now what the destination file
is called. You could
end up with the two instances of the component installed, but each referring to
a different file.
If you uninstall one of the products it won't delete the file because there's
another product
No, that shouldn't be the problem. I saw later that Bob suggested the issue
may be mismatched directives to your MSI saying that you wanted files
uncompressed (Package/@Compressed) but were creating a cabinet anyway. That
might create the warning.
-Original Message-
From: [EMAIL
This problem has just become a bigger deal where I work. Maybe those of us
that have experienced this problem could put our heads together to try to
figure out what we are doing in common that is causing this to happen.
During database upgrades, we connect to an existing database, run 3-4 sql
You'll need to use Properties. If you need to clean up an arbitrary number of
folders then you'll need a CustomAction to add temporary rows to the RemoveFile
table and let the Windows Installer clean up from there.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
You're probably better off either:
A) Copy the file from the template in a custom action.
OR
B) Have the application copy the file from the template to the user's
application data folder if it doesn't already exist.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Jeff MacDuff wrote:
I have some existing code that calls MsiSetProperty() ... couldn't I
just call that, set a property, and then use that property with the MSI?
No code is necessary. CustomAction/@Property,@Value creates a type 51 CA
which does exactly what you need.
--
sig://boB
aparna wrote:
I unable to create the following keys with the above code:
/Software\Classes\AppId\Cxyz.exe Name=AppID Value={GUID}
Type=string/
/Software\Classes\TypeLib\{Guid}\1.0\HELPDIR - with it's path being blank/
/Software\Classes\AppId\{Guid} Name=RunAs Value=NT
I would highly suggest B). It sounds like you're creating user data. Live is
easier if you don't have your install touch user data. Have the setup install
stuff that is static then let the app (on first boot) finish the per-user
configuration.
-Original Message-
From: [EMAIL
Rob, any ideas why this difference exists between the two builds?
From: Zane Teh
Sent: Wednesday, November 22, 2006 3:02 PM
To: Rob Mensching; 'wix-users@lists.sourceforge.net'
Cc: Suresh Parameshwar
Subject: RE: [WiX-users] New Website install
Hi Rob,
We did some investigation and found out
It's a bug. It's open. It needs to be fixed. I'm on a new team (at
Microsoft) so I'm ramping up on a lot of new information. However, after I get
past this initial hump, I'll actually an environment where I'm using the IIS
CustomActions myself again (been about 3 years since *I* used the
Can WiX create domain users in Active Directory? If so, are there any
special gottcha's? For instance, if I want to specify a group
membership do I use BUILT-IN? (as in: BUILT-IN\Administrators)
_
Doug Watts
I was not minitoring the mailing list, so I missed the latest replies.
Phil's description of how InstallShield uses regasm is correct. Anyway, I
have resolved my original quesiton about CreateObject a couple weeks ago.
It is really just a COM early-binding versus late-binding issue. I ended
Sorry could you point me in the right direction.. never used type 51 ?
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 29, 2006 10:41 AM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir
Jeff
Dana, Rob,
Thanks for the info.
A few stats from me. We have been using WIX to ship 10 production
systems (these are server based installs) for almost 2 years. Most have
been built on Wix 2.3220 as it was stable and working at the time we
started. Until recently I did all of our upgrades as
David Adams pointed out to me that the bug already had information in it that
pointed at the problem. With that information it was a very straight forward
fix. Hopefully, the IIS CA work correctly in the next weekly drop (sometime in
the next day or two).
From: [EMAIL PROTECTED]
Thanks Rob, that is great news! We will let you know if we run into any issues
after the next drop.
Thanks,
--zane
From: Rob Mensching
Sent: Wednesday, November 29, 2006 2:51 PM
To: Rob Mensching; Suresh Parameshwar; Zane Teh;
'wix-users@lists.sourceforge.net'
Cc: Shyam Habarakada; Oliver
I am having a bit of a problem. I have created my own ErrorDialog and when I
build the MSI it adds the Contol Next for each of controls inside the
ErrorDlg. However this causes a Error and crash of the MSI when the error
dialog is suppose to appear saying DEBUG: Error 2814: On the dialog
Another thing you might try, if it's viable for your installer, is to
have it uninstall/remove the previous version and do a re-install. We do
this with our automated builds/deployments for Quality Assurance (which
may happen a few times a day on some projects.) Section four of 'the
tutorial'
Among the various features in my app there is a need to install one and only
one feature from a set of two features. I've added a panel to the Mondo UI
that appears after selecting Custom and before the CustomDlg with the
feature tree. My dialog has radio buttons to select which thing to
Douglas Watts wrote:
Can WiX create domain users in Active Directory?
The WiX server CAs call DsGetDcNameW to get the name of a domain
controller, then call NetUserAdd to add the user to that server. So I
think the answer is yes, but given that it's a no-impersonate CA, it's
not clear
Jeff MacDuff wrote:
Sorry could you point me in the right direction.. never used type 51 ?
You need to define the custom action:
CustomAction Id=Foo Property=MYDIRECTORY Value=[%variable]\Bar /
then schedule it:
InstallExecuteSequence
Custom Id=Foo After=CostFinalize /
Magus wrote:
I am having a bit of a problem. I have created my own ErrorDialog and when I
build the MSI it adds the Contol Next for each of controls inside the
ErrorDlg. However this causes a Error and crash of the MSI when the error
dialog is suppose to appear saying DEBUG: Error 2814: On
Scott Palmer wrote:
My problem is that the what is shown in the feature tree seems to be
decided on before my radio buttons are used. So the default value is
always what I see in the feature tree.
Feature conditions are evaluated during the CostFinalize action, which
is well before the UI
Rogers as a background.
However, if each one of us start doing our part we will change it.
We view this as a bonus: how else can you quickly and cheaply get feedback on a
product or service from influences?
It's a message for those who didn't understand yet the giant catastrophes that
awaits us
Hi,
Our product is supported on both 32-bit and 64-bit platforms(binaries for
both the platforms are same). Should I create separate installation packages
for both 32-bit and 64-bit platforms? or Can I have one installation package
which works on both 32-bit and 64-bit machines?
Hello,
I have the following code to create an URL shortcut on Desktop:
IniFile Id=launchFromDesktop Action= addLine
Directory=DesktopFolder Name=MyHome.url Key=URL
Section=InternetShortcut Value=http://localhost:[HTTP_PORT]/
This works well for a new install. But when I do an upgrade
Qu, Li wrote:
This works well for a new install. But when I do an upgrade
install(major upgrade), the URL keeps using the old port.
One possibility: Depending on how you configured RemoveExistingProducts,
the installer might not be installing the component associated with the
.ini file.
vij wrote:
Our product is supported on both 32-bit and 64-bit platforms(binaries
for both the platforms are same). Should I create separate
installation packages for both 32-bit and 64-bit platforms? or Can I
have one installation package which works on both 32-bit and 64-bit
machines?
Please keep /wix-users/ on the thread so Big Brother can see our every
word.g
Scott Palmer wrote:
If I do that, how do I define the feature? I.e. what do I put for the
Level attribute where the feature is defined?
My recommendation is to use Level=1 and then to use AddLocal and
Remove
38 matches
Mail list logo