[WiX-users] RegistryKeys on x64 always deleted?

2007-11-23 Thread Mailinglist
Hi,

in our x64 Setup we write some registry keys to the native registry hive, using 
this pattern:

RegistryValue Id='EWS.User.Path' Root='HKLM' Key='Software\XXX\XXX' 
Name='UserExePath' Action='write' Type='string' Value='[User]User.exe' /

On uninstall those keys are removed, but I do not want to remove them. Is it a 
bug? Same code as x86 package works just as expected.

Any hints welcome

Oliver Friedrich
IT-Consultant

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problems in running vbscript during install

2007-11-23 Thread chandan Koushik

Hi All,
I apologize for posting this if it has been answered several times but I am
unable to get this working.I am using wixV3 .I just want to call a vbscript
file which sets permission for user.It takes folder name as argument.
when i run it from the command line using cscript 
c:\cscript setdirpermissions.vbs c:\fonts   the permissions to fonts
folder gets changed.
But when i try this in wix .this does not happen.
!--binary tag--
Binary Id=vbscript SourceFile=SetDirectoryPermissions.vbs/
!--custom action--
CustomAction Id=SetAnonPerm BinaryKey=vbscript Execute=deferred
   ExeCommand=quot;C:\fontsquot; 
Return=check /
!--Installexecutesequence --
Custom Action=SetAnonPerm After=InstallFinalizeNOT Installed/Custom

And even the Other approach also fails
!--custom action--
CustomAction Id=SetAnonPermScript Property=MNANONPERMSCRIPT
Value=quot;SetDirectoryPermissions.vbsquot; /
Property Id=cscriptlaunchcscript/Property
CustomAction Id=SetAnonPerm Property=cscriptlaunch
ExeCommand=[MNANONPERMSCRIPT] Return=ignore /
!--Installexecutesequence --
Custom Action=SetAnonPermScript After=InstallFinalizeNOT
Installed/Custom
Custom Action=SetAnonPerm After=SetAnonPermScriptNOT
Installed/Custom

The Script does not get executed .Please Help and suggest me the correct way
to call the vb script at the end of installation.

Regards,
Chandan

-- 
View this message in context: 
http://www.nabble.com/Problems-in-running-vbscript-during-install-tf4860207.html#a13908275
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX 2.0 created MSI occasionally fails to install on Vista

2007-11-23 Thread Ryan O'Neill
Anyone got a clue about this? I can't resolve it.

Ryan O'Neill wrote:
 Hi all,

 I have an installer that works great for all Win platforms, except Vista 
 where it will fail to register a DLL on specific machines. It runs on 
 most Vista installations fine (under admin and limited user accounts 
 which prompt for admin access). I did manage to get to a machine that 
 exhibited the issue yesterday and after running the MSI from the command 
 prompt, it installed correctly. I understand what happened there with 
 the automatically elevated privileges using the command prompt but I 
 can't understand why the normal UAC prompts did not allow the installer 
 to write the DLL registration to the registry.

 I think perhaps the systems it fails on have a policy that is 
 disallowing my installer registry writes, but I'm out of ideas.

 In testing it has proved to install correctly with;
 a) Admin accounts.
 b) Non admin accounts.
 c) Non default user admin account.

 The method I am using to write to the registy is via the usual Registry 
 tag, as below;
 Component Id=C_MainDll Guid={X}
 Registry Root=HKLM 
 Key=Software\Microsoft\Internet Explorer\Toolbar
 Registry Name={YY} Type=string 
 Value=My toolbar /
 /Registry
 Registry Root=HKCR Key=CLSID\{YY} 
 Value=My toolbar Type=string /

 Obviously there are many more registry tags as well.

 I'm really stuck here, it works on most Vista systems and then the 
 remainder it will work after being installed from the command prompt. 
 Any help would be very much appreciated.

 Thanks in advance,

 Ryan


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


   


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Msitran.exe - new version == new return code?

2007-11-23 Thread Stefan Pavlik
Hi

If anybody of you are using the Msitran.exe to create/ apply the
transformation files, do you check the return code of it?

It seems to me that the new version of it is returning 256 on
success. At least the output to console is: 'Done' which means SUCCESS.

The version 2.0.3790.0 returns 0 on success.
The version 4.0.6000.16384 returns 256 on success.

Does anybody know if my observation and guess is correct?

Thanks

Stefan


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] outlook com addin

2007-11-23 Thread Thomas Leigh
At this point, it doesn't really matter whether your COM assembly is for 
Outlook or not.

The problem you have is that you need to know the Class Ids, Prog Ids, Type 
Libs, etc of each of your COM assemblies. Because you used VB6 to create your 
assemblies, all this info is hidden from you and you probably aren't even 
aware that it exists, let alone how it all fits together.

Once you've read some tutorials on COM and understand how it works, you should 
be able to answer your own question J


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Reichelt
Sent: 23 November 2007 20:55
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] outlook com addin

I am making an installer for an Outlook vb6 COM addin.  The addin consists of 7 
COM assemblies that need to be copied to the target machine and then have 
regsvr32 called on each assembly. I have read that calling out to regsvr32.exe 
from the msi is not recommended and instead you should manually create the 
registry keys needed for each assembly.

The problem is that when I run heat.exe on my main assembly, it only generates 
a TypeLib wix element, not everything that is  needed to registry the 
assembly as an Outlook addin.  When I manually run regsvr32 after installation, 
then the assembly is correctly added to Outlook.  I can't locate all the steps 
necessary to property register an assembly as an Outlook addin, so I can't do 
it manually at this point.

I have scoured the internet looking for someone else who has done this, but I 
can't find anyone. Does anyone have experience in making Outlook (or Office) 
addin installers?   Thanks
-- This message has been scanned for viruses by Sophos PureMessage.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to get ip address of the host machine

2007-11-23 Thread Richard

In article [EMAIL PROTECTED],
diwakar09 [EMAIL PROTECTED]  writes:

 I need to find the ip address of the machine where the installation is
 taking place,

Repeating the description of the task is not a statement of the goal.
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action type 1042 and 18

2007-11-23 Thread Jim Williams
I would like to figure it out for you, but the only way you will ever
figure out how to do it for yourself is to see the information on Custom
Actions at http://msdn2.microsoft.com/en-us/library/Aa368062.aspx.  On
that page under the description for Type are some links that show the
values that, when added together, will total the type value you are
looking for.  These values are the custom action type and the attributes
for execution return processing, scheduling, etc.  You should be able to
figure out from these values what attribute values to add together to
get the result you want. :-)  Then based on the set of attribute values
you come up with, just look at the settings for the WiX CustomAction
element and choose the appropriate settings to match.  You may have to
play around with it some to achieve the value you want, but this will
help you in doing the same for other custom attributes in the future.

Jim Williams
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
Sent: Thursday, November 22, 2007 10:14 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action type 1042 and 18



Hi Jim

Now I need Type as 1554. Can you tell me the values.

Return= ??
Execute=deferred
Impersonate=??
HideTarget=??

Also is there a way to find out the same or it is just trail and error








SaiTeja wrote:
 
 Thanks Jim
 
 Its showing now type as 1042. 
 
 Thanks a lot.
 
 
 
 
 Jim Williams-3 wrote:
 
 All of the custom action attributes, when coded into the action type
 give a different value depending on what is specified for the
attribute.
 So changing a value from yes to no can make a big difference in
the
 value... they are just bit settings and to the action type.  But if
you
 specifically want 1042, then, try:
 
 Return=check
 Execute=deferred
 Impersonate=yes
 HideTarget=no
 
 But these values may not be what you want for executing the custom
 action.
 
 Jim
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Friday, November 16, 2007 12:47 AM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Custom Action type 1042 and 18
 
 
 Hello Jim,
 
 I replaced Execute with  deferred 
 
 now is showing when i open orca type 11346.
 But I want type should be 1042
 
 below is code
 
  CustomAction Id=LQMI_DisableInPlace Return=ignore
 HideTarget=yes
 Execute=deferred Impersonate=no TerminalServerAware=no
 ExeCommand=DisableBrowseInPlace FileKey=lqmireg.exe
 /CustomAction
 
 Please let me know
 
 
 Jim Williams-3 wrote:
 
 I think you want Execute=deferred.
 
 Jim
 
below is my custom action.

CustomAction Id=LQMI_DisableInPlace FileKey=abc.exe
 HideTarget=no
Impersonate=no TerminalServerAware=no
 ExeCommand=DisableBrowseInPlace
Execute=immediate Return=check /
 
When I open msi with orca, it is showing type as 2066. But I want
type
should be 1042

Could you tell me how to do this
 



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 -- 
 View this message in context:

http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a137
 88852
 Sent from the wix-users mailing list archive at Nabble.com.
 
 


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 


-
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 

-- 
View this message in context:
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a139
07396
Sent from the wix-users mailing list archive at Nabble.com.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This 

Re: [WiX-users] Problems in running vbscript during install

2007-11-23 Thread Daryn Mitchell
Your CustomAction needs to be defined differently.
Instead of ExeCommand, use VBScriptCall='' (value = blank to just run the
script, or put the name of the VBScript function). ExeCommand attribute
tries to execute an EXE, not run VBScript.

Also I'm pretty sure that deferred custom actions have to be scheduled
between InstallInitialize and InstallFinalize, which would mean you need to
schedule yours earlier or make it an immediate action.
(As found in Deferred CA description,
http://msdn2.microsoft.com/en-us/library/aa368268.aspx)

Daryn.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of chandan
Koushik
Sent: Friday, November 23, 2007 12:03 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problems in running vbscript during install


snip
I am unable to ... call a vbscript file 

Binary Id=vbscript SourceFile=SetDirectoryPermissions.vbs/

CustomAction Id=SetAnonPerm BinaryKey=vbscript Execute=deferred
  ExeCommand=quot;C:\fontsquot; Return=check /

!--Installexecutesequence --
Custom Action=SetAnonPerm After=InstallFinalizeNOT Installed/Custom



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Zenith Bank ATM

2007-11-23 Thread Zenith Bank ATM


Zenith Bank ATM 

RE:YOUR PAYMENT NOTIFICATION

From: Dr. Paul Iwu.

Remittance Manager 

Zenith Bank Of Nigeria.



Attention: Beneficiary 

 

This is to officially inform you that we have verified your contract file 
presently on my desk, and I found out that you have not received your payment 
due to your lack of co-operation and not fulfilling the obligations giving to 
you in respect to your contract payment.

 

Secondly, you are hereby adviced to stop dealing with some

 non-officials in the bank as this is an illegal act and will have to stop if 
you so wish to receive your payment immediately.After the board meeting held at 
our headquarters, we have resolved in finding a solution to your problem, and 
as you may know, we have arranged your payment through our SWIFT CARD PAYMENT 
CENTRE in Europe, America,Africa and Asia Pacific, which is the instruction 
given by our president, Alahji Musa Aradua (GCFR) Federal Republic of Nigeria.

 

This card centre will send you an ATM CARD which you will use to withdraw your 
money in an ATM MACHINE in any part of the world, but the maximum is 
($4,999.00) Thousand Us Dollars per transaction. So, if you like to receive 
your fund this way,

 

(1) Your Full Name

(2) Address where you want the payment centre to send your ATM CARD.

(3) Phone And Fax Number

 

We shall be expecting to receive your information you have stop any further 
communication with anybody or office. On this regards, do not hesitate to 
contact me for more details and direction, and also please do update me with 
any new development.



Thanks for your co-operation.

 

Best Regards,



Dr. Paul Iwu

Remittance Manager 

Zenith Bank Of Nigeria.

 

Note: Because of impostors, we hereby issue you with our code of conduct, which 
is (905) so you have to indicate this code when contacting this CARD CENTRE





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Serial Key UI

2007-11-23 Thread Gareth at Serif

I was just starting to investigate that control type... and where the text
breaks up the string (eg. -) the control conditions to re-evaluate
when the caret reaches the 2nd section, so it very nearly does the perfect
job.  Thanks again.
-- 
View this message in context: 
http://www.nabble.com/Serial-Key-UI-tf4855567.html#a13914557
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Доставка билетов. 997-54-06

2007-11-23 Thread arvie windsor
   Сочинение поэта Андрея Вознесенского и композитора Алексея Рыбникова
ПОСТАНОВКА народного артиста СССР МАРКА ЗАХАРОВА
Великолепная quot;Юнона и Авосьquot;
1,17,25, 31 ДЕКАБРЯ! 3,6,9 января. Современная опера 2-х частях 
в роли действительного камергера, графа Николая Резанова народный артистРФ 
лауреат государственной премии РФ Дмитрий Певцов.

 Доставка билетов: (4 9 5) 9 97-5-40 6
 также в ЛЕНКОМЕ:
Новый спектакль по пьесе Гоголя quot;Женитьбаquot;. 
О. Янковский, И.Чурикова, А. Збруев, Д. Певцов, А. Лазарев
- 27,28 ноября; 4,5,15,16,28,29 декабря!

ЗАТМЕНИЕ (КУКУШКА) - 29 ноября; 30 ДЕКАБРЯ; 5,8 января!
А.Абдулов, Д.Певцов, Е.Шанина, А.Якунина, С.Степанченко и др.

Александр Лазарев, Дмитрий Певцов
КОРОЛЕВСКИЕ ИГРЫ - 10,20 декабря; 4,7 января!
 МХАТ:
  Владимир Машков, Евгений Миронов в комедии
  quot;N 13quot; - 14,29 декабря!
суперкомедия quot;ПРИМАДОННЫquot; 
- 28,30 ноября; 2,7,30, 31 декабря!!!
В ролях: Наташа Швец, Юрий Чурсин, Дмитрий Дюжев, Светлана Колпакова, Юлия 
Галкина и др.
 Театр САТИРА:
Лучшая комедия!
СЛИШКОМ ЖЕНАТЫЙ ТАКСИСТ - 27,28 ноября; 5,7, 31 ДЕКАБРЯ!!!
Алиса Фрейндлих, Олег Басилашвили в комедии
КАЛИФОРНИЙСКАЯ СЮИТА - 25 декабря!
 Театр МОССОВЕТА:
  Марат Башаров, Гоша Куценко в комедии для женщин
  LEDY'S NIGHT - 26 ноября; 3,10 декабря!
 Театр им. Маяковского:
  Евгений Миронов в супермпремьере
ФИГАРО - 10 декабря!
 Драм СТАНИСЛАВСКОГО:
Суперкомедия!
МУЖСКОЙ РОД ЕДИНСТВЕННОЕ ЧИСЛО - 21,25,27,29 ноября; 2,5,10,12,18,26, 31 
ДЕКАБРЯ!!!
 Театр им. Е.ВАХТАНГОВА:
Лучшие комедии
МАДЕМУАЗЕЛЬ НИТУШ - 19, 31 ДЕКБРЯ!!! 12 января!
ЗА ДвУМЯ ЗАЙЦАМИ - 21 декабря; 3,5 января!
 С/К ОЛИМПИЙСКИЙ:
  ПЕСНЯ ГОДА С АЛЛОЙ ПУГАЧЕВОЙ - 9 декабря!
  Максим ГАЛКИН - 25 ноября!
 ПРИНИМАЮТСЯ ЗАКАЗЫ НА КАНИКУЛЫ:
  ЦИРК НОВЫЙ ВЕРНАДСКОГО, ЦИРК СТАРЫЙ НА ЦВЕТНОМ НИКУЛИНА!
  КРЕМЛЕВСКАЯ ЁЛКА!!!
 А ТАК ЖЕ ЛЮБЫЕ СПЕКТАКЛИ, КОНЦЕРТЫ И ДР. СОБЫТИЯ В МОСКВЕ: 9 97-5-40 6 !
   
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] how to use quiet custom action

2007-11-23 Thread diwakar09

Hi,

  
  In my installation i am using custom action for changing the file
contents, I need to change 8-9 files. It shows many command window at
installation, I want to hide these windows,

 I am very new to wix,
So if any one can provide some sample that can clarify how to use quiet
custom action, will good for me
Please help me
Thanx in advance.
-- 
View this message in context: 
http://www.nabble.com/how-to-use-quiet-custom-action-tf4860845.html#a13910158
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems in running vbscript during install

2007-11-23 Thread Szentpali Janos
chandan Koushik wrote:
 Hi All,
 I apologize for posting this if it has been answered several times but I am
 unable to get this working.I am using wixV3 .I just want to call a vbscript
 file which sets permission for user.It takes folder name as argument.
 when i run it from the command line using cscript 
 c:\cscript setdirpermissions.vbs c:\fonts   the permissions to fonts
 folder gets changed.
 But when i try this in wix .this does not happen.
 !--binary tag--
 Binary Id=vbscript SourceFile=SetDirectoryPermissions.vbs/
 !--custom action--
 CustomAction Id=SetAnonPerm BinaryKey=vbscript Execute=deferred
  ExeCommand=quot;C:\fontsquot; 
 Return=check /
 !--Installexecutesequence --
 Custom Action=SetAnonPerm After=InstallFinalizeNOT Installed/Custom

 And even the Other approach also fails
 !--custom action--
 CustomAction Id=SetAnonPermScript Property=MNANONPERMSCRIPT
 Value=quot;SetDirectoryPermissions.vbsquot; /
 Property Id=cscriptlaunchcscript/Property
 CustomAction Id=SetAnonPerm Property=cscriptlaunch
 ExeCommand=[MNANONPERMSCRIPT] Return=ignore /
 !--Installexecutesequence --
 Custom Action=SetAnonPermScript After=InstallFinalizeNOT
 Installed/Custom
 Custom Action=SetAnonPerm After=SetAnonPermScriptNOT
 Installed/Custom

 The Script does not get executed .Please Help and suggest me the correct way
 to call the vb script at the end of installation.

 Regards,
 Chandan
   
I don't know if this will help you (I only did a few setup projects in
my like so I'm very new to this), but I have several cases where I used
VBScript custom actions. I needed it to extract the installation path
from some path to a file, stored somewhere in the registry. Basically I
defined a  property in the wix project and than set it's value in the
VBScript. I included the vbscript file as binary resource.

Perhaps if you modify the VBScript so that it reads the parameter as a
property of the installation (through the Session object) instead of
passing it as a command line argument you could use my approach:

I included the script as binary resource:

Binary
Id='some_binary_id'
src='script.vbs'
/

I defined the custom action:

CustomAction
   Id='some_custom_action_id'
BinaryKey='some_binary_id'
VBScriptCall='Main'
/

I set it to run before anything happens :D... obviously you should
change this to suit your needs:

*InstallExecuteSequence
Custom
Action='*some_custom_action_id*'
After='CostFinalize'
/
/InstallExecuteSequence
*
In the VBScript file I set the property INSTALLDIR like this:

Session.TargetPath(INSTALLDIR) = path

Maybe you could get the property by reading instead of writing:

font_path = Session.Property(SOMEPROPERTYDEFINEDINWIX)

Though if the font path is some path set as an installation path, than
you should get the property through the TargetPath and not Property (but
I am not sure, this is just an idea):

font_path = Session.TargetPath(SOMEPROPERTYDEFINEDINWIX)

The details of defineing the property depend on where do you set the
value of the fonts folder. Is it some directory that the user chooses;
is it a directory hard coded?

Hope this helps :D

-- 
Szentpáli János


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to get ip address of the host machine

2007-11-23 Thread Christopher Painter
Even if you get the `right` IP address,  it could be DHCP and/or a private 
address that is NAT'd behind another `right`  public IP address.
   
  Once you have your IP, what do you intende to do with it?   Store it in XML 
or Registry somewhere?  
  
The requirement you are being given is rather suspect.
  
diwakar09 [EMAIL PROTECTED] wrote:
  
Thanx for your reply

I need to find the ip address of the machine where the installation is
taking place,
Suppose i want to install my application on VMware machine, then the
installer should show the ip of VM machine in its text field,

Because in default values in text field it shows localhost, instead of
showing localhost i need to show ip address


Richard-45 wrote:
 
 This is another example where its more helpful to know the goal (what
 are you doing with the address and why do you need it?) than the task
 (how to get an ip address).
 
 By not telling us the goal, you're preventing us from giving you the
 best answer.
 -- 
 The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
 
 
 Legalize Adulthood! 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-get-ip-address-of-the-host-machine-tf4857248.html#a13908173
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


   
-
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Qualification numbers (UNF-03945-UNOG) Alerts

2007-11-23 Thread UNITED NATIONS
United Nations Foundation
1800 Massachusetts Avenue, 
NW, Suite 400
Washington, 
D.C. 20036
 
Thursday, 22nd November 2007
 
Attention: 
 
The United Nations Foundation (UNF), would like to notify you that you have 
been chosen by the Board of Trustees as one of the final recipients of 
£3,000,000.00 (Three million British Pounds) for your personal, business, or 
educational use.
 
The UN Foundation was created in 1998 with entrepreneur and philanthropist Ted 
Turner’s historic $1 billion gift to support UN causes and activities. 
 
The UN Foundation builds and implements public-private partnerships to address 
the world’s most 
pressing problems, and broadens support for the UN through advocacy and public 
outreach. The UN Foundation is a public charity and winners are selected 
without any criterary.
 
You are required to contact the Finance Officer below for 
qualification documentation and processing of your claims. After contacting our 
office with the requested data, you will be given your donation pin number, 
which you will use in collecting the funds. 

Please endeavor to quote your Qualification numbers (UNF-03945-UNOG) and Amount 
won in all discussions.
 
Contact European Finance Officer
Dr. George Wakefield 
E-MAIL:[EMAIL PROTECTED] 
Sincerely Yours
R. E. Turner, 
Chairman of the Board 
© 2007 UN Foundation, All Rights Reserved




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX 2.0 created MSI occasionally fails to install on Vista

2007-11-23 Thread Rob Hamflett
You say it runs fine from a command prompt.  How does it normally run?

Rob

Ryan O'Neill wrote:
 Anyone got a clue about this? I can't resolve it.
 
 Ryan O'Neill wrote:
 Hi all,

 I have an installer that works great for all Win platforms, except Vista 
 where it will fail to register a DLL on specific machines. It runs on 
 most Vista installations fine (under admin and limited user accounts 
 which prompt for admin access). I did manage to get to a machine that 
 exhibited the issue yesterday and after running the MSI from the command 
 prompt, it installed correctly. I understand what happened there with 
 the automatically elevated privileges using the command prompt but I 
 can't understand why the normal UAC prompts did not allow the installer 
 to write the DLL registration to the registry.

 I think perhaps the systems it fails on have a policy that is 
 disallowing my installer registry writes, but I'm out of ideas.

 In testing it has proved to install correctly with;
 a) Admin accounts.
 b) Non admin accounts.
 c) Non default user admin account.

 The method I am using to write to the registy is via the usual Registry 
 tag, as below;
 Component Id=C_MainDll Guid={X}
 Registry Root=HKLM 
 Key=Software\Microsoft\Internet Explorer\Toolbar
 Registry Name={YY} Type=string 
 Value=My toolbar /
 /Registry
 Registry Root=HKCR Key=CLSID\{YY} 
 Value=My toolbar Type=string /

 Obviously there are many more registry tags as well.

 I'm really stuck here, it works on most Vista systems and then the 
 remainder it will work after being installed from the command prompt. 
 Any help would be very much appreciated.

 Thanks in advance,

 Ryan


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


   
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Deleting SHortcuts(Start-Prgs- ...)

2007-11-23 Thread SaiTeja

Hi,

I created short cuts using following code

Shortcut Id=startmenuFoobar10 Directory=ProgramMenuDir
Name=Foobar10 
  LongName=Foobar 1.0 WorkingDirectory='INSTALLDIR'
  Icon=Foobar10.exe IconIndex=0 /
  
Directory Id=ProgramMenuFolder Name=PMenu
LongName=Programs
  Directory Id=ProgramMenuDir Name='Foobar10'
LongName=Foobar 1.0 /
/Directory
   
 Icon Id=Foobar10.exe SourceFile=FoobarAppl10.exe /


But at the time of un installing created short cut is not deleted.

Can  any one tell me what is the problem here???




-- 
View this message in context: 
http://www.nabble.com/Deleting-SHortcuts%28Start-%3EPrgs-%3E-...%29-tf4860903.html#a13910297
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to get ip address of the host machine

2007-11-23 Thread Dominik Guder


diwakar09 wrote:
 
 Because in default values in text field it shows localhost, instead of
 showing localhost i need to show ip address
 

If you don't want to have localhost (which points to 127.0.0.1) you might
use the Computername instead.
In my old Wise Setup I use [ComputerName] to retrieve this name.

hth

Dominik Guder
-- 
View this message in context: 
http://www.nabble.com/how-to-get-ip-address-of-the-host-machine-tf4857248.html#a13912632
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] БОЛЬШОЙ ТЕАТР ПРЕДСТАВЛЯЕТ

2007-11-23 Thread adrien jedidiah
   ЛУЧШИЕ ТЕАТРАЛЬНЫЕ СОБЫТИЯ МОСКВЫ
 229#8226;3#8226;500
 Заказ и доставка билетов 9.00-21.00
ГРАНДИОЗНОЕ НОВОГОДНЕЕ ШОУ quot;ЛЕДНИКОВЫЙ ПЕРИОДquot; - ЗАКЛЮЧИТЕЛЬНЫЙ 
ГАЛА-КОНЦЕРТ quot;ТАНЦЫ НА ЛЬДУquot; - 21, 22.12
  Чулпан Хаматова, Анастасия Волочкова, Игорь Верник, Вилле Хаапасало, Саша 
Савельева, Алексей Макаров, Антон Сихарулидзе, Ирина Лобачева, Повилас Ванагас, 
Албена Денкова, Роман Костомаров, Татьяна Навка
И ВНОВЬ НА МОСКОВСКОЙ СЦЕНЕ! - ЛЕГЕНДАРНАЯ quot;КАЛИФОРНИЙСКАЯ СЮИТАquot; (А. 
ФРЕЙНДЛИХ, О. БАСИЛИШВИЛИ) - 24, 25.12

 Три акта Калифорнийской сюиты - три мини-истории - три встречи мужчины и 
женщины - три блистательных психологических раунда. Это истории о семейных 
парах, оказавшихся в одном гостиничном номере.
В первой части в поединок вступают бывшие супруги. Она - редактор нью-йоркского 
еженедельника, желчная и деловая, он - расслабленный калифорнийский сценарист. 
История второй пары представляет сюжет для бродвейского театра: она - 
английская актриса, прилетевшая на церемонию вручения lt;Оскараgt;, он - 
сопровождающий ее муж, больше интересующийся мужчинами нежели ей. 
Третья история как анекдот. Утром приезжает жена, а в номере...

LADIES NIGHT (В. ЯРЕМЕНКО, Э. КЮРДЗИДИС, М. БАШАРОВ, Г. КУЦЕНКО) - 3.12
ЖЕНИТЬБА (Ленком, ПРЕМЬЕРА! И. ЧУРИКОВА, О. ЯНКОВСКИЙ, Л.БРОНЕВОЙ, А. ЗАХАРОВА 
и др.) - 28.11 и 5.12 
НОМЕР 13 (Е. МИРОНОВ, А.ЛЕОНТЬЕВ) - остросюжетная комедия 14, 29.12
УЖИН С ДУРАКОМ (Г. ХАЗАНОВ, О. БАСИЛАШВИЛИ) - 25.11 и 14, 15.12
БЕЗУМНЫЙ ДЕНЬ, ИЛИ ЖЕНИТЬБА ФИГАРО (Ленком, Д. ПЕВЦОВ, А. ЛАЗАРЕВ) - 30.11
АНТОНИЙ И КЛЕОПАТРА - 10, 19.12
(ПРЕМЬЕРА в театре Современник, в гл. ролях ЧУЛПАН ХАМАТОВА и СЕРГЕЙ ШАКУРОВ) 
Современная версия.
ФИГАРО (ЕВГЕНИЙ МИРОНОВ в гл роли) ...Действие перенесено в наше время: - 10, 
25, 26.12

ВА-БАНК (Ленком, Д. ПЕВЦОВ, А.ЗБРУЕВ, А.ЗАХАРОВА) 25.11 и 8, 9.12 
ЗАЯЦ LOVE STORY (В. ГАФТ, Н. ДОРОШИНА) - 28.11 и 13, 25, 31.12
СУПЕРКОМЕДИЯ - НОВАЯ ПРЕМЬЕРА В СОВРЕМЕННИКЕ- ...смешная и забавная история...
ЩЕЛКУНЧИК - 23, 27, 28, 29, 22.12(12.00) 
ЮНОНА И АВОСЬ (Ленком, Д.ПЕВЦОВ, А.БОЛЬШОВА) - 24.11 и 1, 17, 25, 31.12 
ПЕСНЯ ГОДА С УЧАСТИЕМ АЛЛЫ ПУГАЧЕВОЙ - 9.12
 ДИСКОТЕКА 80-Х 23.11 (скquot;Олимпийскийquot;)
TOUT PAYE, ИЛИ ВСЕ ОПЛАЧЕНО (Ленком,И. ЧУРИКОВА, О. ЯНКОВСКИЙ, А. ЗБРУЕВ, 
комедия) - 17, 25.12 
БЫСТРЕЕ, ЧЕМ КРОЛИКИ (ПРЕМЬЕРА, шоу для театра. Комический театр quot;КВАРТЕТ 
Иquot; совместно с группой quot;Агата Кристиquot;, Ю. СТОЯНОВ /программа 
quot;Городокquot;/ и др.) - 28.11 и 12, 13.12
Это самый смешной спектакль за всю историю Театра. Завязка сюжета... 
Проститутка, два артиста, их продюсер, трансвестит и русский американец на 
запойной вечеринке приняв какое-то quot;снадобье... Что дальше было? 
Беспрерывный смех зрителей в течение полутора часов
 МУЖСКОЙ РОД ЕДИНСТВЕННОЕ ЧИСЛО (СУПЕРКОМЕДИЯ,В. КОРЕНЕВ, Б. НЕВЗОРОВ, 
Драматический театр им.К.Станиславского,ОЧЕНЬ НЕБОЛЬШОЙ ЗАЛ. СПЕКТАКЛЬ ДОВОЛЬНО 
ПОПУЛЯРНЫЙ, ИЗ РАЗРЯДА quot;ХИТОВquot;) - 21, 25, 27, 29.11 и 2, 5, 10, 12, 
18, 26, 31.12
ДЕНЬ РАДИО - 5, 11, 16.12
(шоу для театра, рок-группы и генерального продюсера радиостанции. Комический 
театр quot;КВАРТЕТ Иquot; совместно с группой quot;НЕСЧАСТНЫЙ СЛУЧАЙquot;, 
А. КОРТНЕВ, М.ВИТОРГАН) 
СМЕШАННЫЕ ЧУВСТВА (И. ЧУРИКОВА, Г. ХАЗАНОВ.) :роман 61-летней женщины и 
65-летнего мужчины - это обстоятельство, вызывающее улыбку, особенно, когда 
партнер все время говорит о своих сексуальных достоинствах в этом возрасте: - 
9, 21.12 
ЭНРИКЕ ИГЛЕСИАС - 25.11
 ЛЕГЕНДЫ РЕТРО FM - 15.12
 БРАЙАН АДАМС - 10.12
 ШУТ БАЛАКИРЕВ (Ленком, О.ЯНКОВСКИЙ, А.ЗБРУЕВ, А.ЗАХАРОВА) - 1, 26.12
МАМАПАПАСЫНСОБАКА (Современник, СУПЕРКОМЕДИЯ В гл. роли Ч. ХАМАТОВА) - 11.12
МАСТЕР И МАРГАРИТА (легендарная постановка ЮРИЯ ЛЮБИМОВА, театр на Таганке) 
20.11 и 7, 16, 26.12 
СЛУЖАНКИ (ЛЕГЕНДАРНАЯ ПОСТАНОВКА Р.ВИКТЮКА) - 4, 5.12 ...Фантастически красивый 
спектакль о любви, верности и ненависти. Как далеко готовы зайти служанки, 
завидуя благополучию беспечной Мадам? И хватит ли служанкам сил в реальности 
довести до конца замысел против своей госпожи?...
БОЛЬШОЙ ТЕАТР: ЖИЗЕЛЬ - 22, 23.11 и 8, 9.12, ДОН КИХОТ - 27, 28.11 ЧИППОЛИНО - 
8 (12ч), 9 (12ч).12, ТУРАНДОТ - 18, 19.12

#034;I#034; SHOW - 14.12 ... спектакль, звучащий на 10 языках мира. 
Потрясающая музыка, лучшие перфомансы , великолепие мастерства джаз-балета 
#034;I#034;, 
В проекте заняты лауреанты престижных отечественных и зарубежных цирковых 
премий, лучшие джаз-танцоры Москвы. Создан уникальный реквизит и потрясающие 
костюмы из натурального агата.
 229#8226;3#8226;500
   
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] PrintEULA CA

2007-11-23 Thread Gareth at Serif

Of course... I could've been looking for weeks before I noticed that.  Many
thanks.
-- 
View this message in context: 
http://www.nabble.com/PrintEULA-CA-tf4856905.html#a13914516
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action type 1042 and 18

2007-11-23 Thread Daryn Mitchell

Here's a couple of possibilities:

1) If you've got an existing MSI you're converting to Wix, use the Wix tools
(Dark) to decompile it into Wix markup.

2) Very handy Custom Action Type Calculator on the InstallShield web site
makes the guess and test go much quicker. (Needs IE, doesn't work in Firefox
for me.)
http://helpnet.installshield.com/robo/projects/helplibdevstudio9/IHelpDLLFun
ctionCalcType.htm

3) The Custom Action Reference on MSDN provides the real info on the flag
values.
(http://msdn2.microsoft.com/en-us/library/aa368070.aspx)
You break your known type into its component pieces. Note that you seem to
have to step through a bunch pages to find everything you're looking for
(types, scheduling options, etc.) - maybe there's a page somewhere that has
them all on one page?


Daryn.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
Sent: Thursday, November 22, 2007 10:14 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action type 1042 and 18

Now I need Type as 1554. ...

Return= ??
Execute=deferred
Impersonate=??
HideTarget=??

... is there a way to find out the same or it is just trail and error




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] outlook com addin

2007-11-23 Thread Ben Reichelt
I am making an installer for an Outlook vb6 COM addin.  The addin consists
of 7 COM assemblies that need to be copied to the target machine and then
have regsvr32 called on each assembly. I have read that calling out to
regsvr32.exe from the msi is not recommended and instead you should manually
create the registry keys needed for each assembly.

The problem is that when I run heat.exe on my main assembly, it only
generates a TypeLib wix element, not everything that is  needed to
registry the assembly as an Outlook addin.  When I manually run regsvr32
after installation, then the assembly is correctly added to Outlook.  I
can't locate all the steps necessary to property register an assembly as an
Outlook addin, so I can't do it manually at this point.

I have scoured the internet looking for someone else who has done this, but
I can't find anyone. Does anyone have experience in making Outlook (or
Office) addin installers?   Thanks
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] outlook com addin

2007-11-23 Thread Ben
Try running heat on a directory (not just a file)  that contains all the 
assemblies you need to register.




Ben Reichelt wrote:
I am making an installer for an Outlook vb6 COM addin.  The addin 
consists of 7 COM assemblies that need to be copied to the target 
machine and then have regsvr32 called on each assembly. I have read 
that calling out to regsvr32.exe from the msi is not recommended and 
instead you should manually create the registry keys needed for each 
assembly.


The problem is that when I run heat.exe on my main assembly, it only 
generates a TypeLib wix element, not everything that is  needed to 
registry the assembly as an Outlook addin.  When I manually run 
regsvr32 after installation, then the assembly is correctly added to 
Outlook.  I can't locate all the steps necessary to property register 
an assembly as an Outlook addin, so I can't do it manually at this point.


I have scoured the internet looking for someone else who has done 
this, but I can't find anyone. Does anyone have experience in making 
Outlook (or Office) addin installers?   Thanks



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
  


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users