Using RegAsm is a huge part of the reason your batch file was so unreliable.
It is called Self-Registration. You should very seriously consider not doing
that. You should instead be very explicit as to exactly what settings you
need to register your components and author that into your MSI.
You ca
Hi Peter,
Sorry, I didn't post all the code here. Actually, my code is:
TCHAR szProductName[100] = {0};
DWORD length(0);
uiStatus =
MsiGetProductInfoW(szProductCode,L"InstalledProductName",L"",&length);
if(uiStatus == ERROR_MORE_DATA)
{
// TCHAR name[length+1];
uiStatus =
M
You have two launch conditions: your downgrade attempt (seems correctly
written) and your upgrade detection/requirement (which is written using
weird logic that seems to be the root of your frustration).
Change your second condition to look like this:
OLDERVERSIONBEINGUPGRADED OR
Well yes, does it work?
Best regards,
Sebastian Brand
Deployment consultant
E-Mail: sebast...@instyler.com
Blog: www.sebastianbrand.com
> -Original Message-
> From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com]
> Sent: Thursday, November 19, 2009 21:23
> To: General discu
Hi All,
When we installs our product, though we choose other drive like d: or e: still
it checks the space of c: drive. It asks minumn 700MB empty space on c: drive.
I tried to change the temp location to d:\ but no use and I think we not force
user to change his temp folder location.
Please
Aren't shell extensions either a DLL or OCX file as the entry point?
Think about what you have to do to manually deploy your shell extensions
and write down the steps (if it helps). These are the steps that you
would then author in WiX to automate the process through an MSI. A
simple outline with t
On Thu, Nov 19, 2009 at 9:25 PM, Michael Clark wrote:
> a) Objectively, is WiX the right option, or should I look at other
> installers for this purpose? [Michael] It's a great tool for this
> purpose and its free!
>
> b) Are there any samples of scripts that install shell extensions? I
> have loo
a) Objectively, is WiX the right option, or should I look at other
installers for this purpose? [Michael] It's a great tool for this
purpose and its free!
b) Are there any samples of scripts that install shell extensions? I
have looked around, but found nothing. Reinventing the wheel is
something
I tried as you said
INSTALLTYPE="CompleteServer"
INSTALLTYPE="CompleteDatabaseServer"
INSTALLTYPE="CompleteWorkstation"
And CustomAction
This is right?
Arun Perregattur
-Original Message-
From: Sebastian Brand (Ins
Hello WiXers,
I am new to Windows Installer and WiX, and thus have been pouring over
documentation. tutorials, samples and google the last few days. I see
a lot of basic information which is nice, but sadly, my needs aren't
all that typical. (This might become a rather long posting, so I will
apol
Thanks Sascha.
Rebooting doesn't fit our requirement. I've made a workaround in our
bootstrapper to launch the app after silent installation. It's not nice as our
MSI users won't have this functionality. But this seems the best we could do so
far.
From: Sasc
OFF-TOPIC - this has to do with compilers and manifests, but does refer to
this problem.
I have experienced a similar issue with a client's product I was working on.
With VS 2008 SP1, a new revision of the C runtime/ATL/etc. DLLs are used.
Apps compiled with this will have this registered in thei
I'll give you the wix, the installer code, and the usage all side by side:
.wxs fragment:
.cs fragment (installer):
PerformanceCounterInstaller category = new PerformanceCounterInstaller();
category.CategoryName = "My Application";
category
> William,
>
> We have seen serious problems with this merge module. I think there's an unav
> oidable problem with per-user installations if you use it. In at least one of
> our setups, we use an executable file to install the VS 2008 support, instea
> d of the merge module.
We do not use per-u
Hello WiX community,
This question is primarily addressed to the "patching gurus". :)
I have the following requirement. During the patch installation I should
detect if the files to be patched were modified by the user, and if yes,
install the new versions of those files side-by-side, disregardin
You are passing 0 as the size of the buffer in the "length" argument
which is too small.
Try
DWORD length = sizeof(szProductName)/sizeof(TCHAR);
-Original Message-
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com]
Sent: 19 November 2009 16:12
To: General discussion for
Hmm, bummer. Thanks for finding and reporting this issue.
2009/11/18 Matti Hägerlund
> Hi Rob and thanks for the tip.
>
> I tried the -cc switch but light still writes the temp-file in
> C:\Documents and Settings\\Local Settings\Temp :-(
>
> I'll file a bug report.
>
> /M4tti
>
> 2009/11/18 Rob
Just wondering if there is any sort of update on the WiX Script
repository that a few people talked about a few months ago. How can we
submit scripts.
I've got some scripts which I've built up over the last few months,
which I think others could find useful.
DOMINIQUE LOUIS | IS DEVELOPER, AMX
Hi,
I tried to retrieve some information about installed Product, as bellow:
TCHAR szProductName[100] = {0};
DWORD length(0);
MsiGetProductInfoW(szProductCode,L"InstalledProductName",szProductName,&
length);
However, it always return ERROR_MORE_DATA. It sounds like that TCHAR
szProductName[1
The INSTALLTYPE property will contain the values "CompleteServer",
"CompleteDatabaseServer" or "CompleteWorkstation" after the selection was made.
You can either change these values to 1,2,3 or create three SetProperty control
events, one for each install type:
INSTALLTYPE="CompleteServer"
Put
In MSI the value of a combobox is stored in a property. You can then access
that property anywhere by using brakets, i.e. use [PropertyName]
To show a dialog depending on the property value, use the Property as a
condition for elements.
Best regards,
Sebastian Brand
Deployment consultant
E-Ma
Hi,
In wix-msi how can I pass the values between two dialog boxes. I will select
one item from combo box of first screen/dialog, based on the selection, second
screen combo box should populate. How can i pass the values of screen one to
second screen.
Thanks,
Uday.
Schmitz, John wrote:
> For various reasons, our product setups are built using a number of merge
> modules that package our own build products. This, along with my not thinking
> about the consequences, resulted in my previous attempts violating at least 3
> of the rules that MS documents govern
Sachin Dubey wrote:
> During investigation I found, the Wix is calling C++ custom actions those
> using method GetMsiProperty to retrieve the properties from MSI.
>
There's no such MSI API function. Check your wrapper code to see exactly
which error is being returned.
--
sig://boB
http://jo
John H. Bergman (XPedient Technologies) wrote:
> Hmm, ok. Only the bootstrapers do then I suppose.
>
> Are there plans to update Votive to include the attribute based on whether a
> boot strapper is going to be used?
>
No, there are no such plans. Feel free to file a feature request,
thoug
Can you post the .wxs with the ConfigureIIS customaction tags?
Best regards,
Sebastian Brand
Deployment consultant
E-Mail: sebast...@instyler.com
Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com
On 19.11.2009, at 08:36, Kusuma Sudheer Kumar (Tata Consult
Untested but'll you get the idea:
Set installer = Wscript.CreateObject("WindowsInstaller.Installer")
Set database = installer.OpenDatabase("c:\path\toyour\msifile.msi", 0)
query = "SELECT 'Value' FROM Property WHERE Property='ProductCode'"
Set view = database.OpenView(query)
view.Execute
Set rec
For anyone interested what I was able to do was create a custom action to set
the ALLUSERS property to 1 and schedule it after FindRelatedProducts. Doing
this allowed the old version to be located as a per user install then switch
the new install to be per machine.
-Original Message-
Fr
Hi Rob,
Thanks for your reply.
I got some information for other person that I can use
MsiOpenDatabase/MsiViewExecute
But I have no idea how to use it. Could you please give me some example?
Regards,
Chunyan
-Ursprüngliche Nachricht-
Von: Rob Mensching [mailto:r...@robmensching.com]
If you have a radio button group, we don't use the property you have associated
with the radiobutton group in the commandline.
How are you setting the InstallLevel using the radio buttons?
Best regards,
Sebastian Brand
Deployment consultant
E-Mail: sebast...@instyler.com
Instyler Setup - Crea
31 matches
Mail list logo