[WiX-users] Does all Vista OS's are same or different???

2008-02-18 Thread SaiTeja

Hi,

I need one clarification. 

Does all Vista OS's ( Vista Enter prise x64,Vista Enter prise x86, Vista
Ultimate x64, Vista Ultimate x86, Vista Business x64 etc) are same or
different?

Because Service(Start type is auto) behavior is different on different OS.
The same is working fine in XP, Windows 2003 server, Windows 2000. Giving
problem in only VIsta OS.

Vista Ultimate(x64) : SILENT Install - Some times Service is started
automatically after reboot, Some times wont start automatically, but starts
manually. 
GUI Install -  Service is not started automatically But Service Started
Manually

Vista Enterprise(x64): In both SILENT  GUI: Service is not started
automatically But Service Started Manually.

Vista Business(x86): In both SILENT  GUI: Service is not started
automatically  manually. In case of manuall, getting error message as
Client Service is not ready. Error:1067 The service is terminated
unexpectedly. Event Log also says same thing.


What is the wrong here. Is the problem with Service/Virtual
Image/OS/Installer 

I am facing this problem since 20days, I didnt get the solution. Can any one
give an ideas/suggestions
-- 
View this message in context: 
http://www.nabble.com/Does-all-Vista-OS%27s-are-same-or-differenttp15546382p15546382.html
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 2008.
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] Service @vista

2008-02-15 Thread SaiTeja

Hi,

Thanks for response

Because the service has dependencies, I created one merge module.msi(with
all x86 including debug mergemodules) and installed. After that I installed
my installer. This time installation is successfully, But service is not
started after reboot automatically(service start type is auto). But when I
start service manually, service is started.

I am testing this in Virtual Images. The above case is working for vista
ultimate virtual image. But for Vista Enterprise and Business virtual images
it is not working.

So In vista ultimate it is working means. there is no problem with service
and component.

Can you tell me, what is the wrong here. Is it the problem with virtual
image or service?

Why service is not started automatically after reboot, even service type is
auto
Why it is started when I try to start manually from services.msc after
installation.


Thanks in advance,





Rob Hamflett wrote:
 
 It sounds like your service just doesn't work under Vista.  Can you run it
 as a normal exe?  Have 
 you tried putting any logging in your service to see how far it gets?
 
 Rob
 
 SaiTeja wrote:
 Hi,
 
 I have a service installed on windows vista. The startup type for this
 service is Automatic. The service is not starting after reboot. When i
 try
 starting the service from Service Control Manager, the error is something
 like Windows could not start the service on Local Computer Error 1067:
 The
 process terminated unexpectedly. The event logs just displays The
 service
 terminated unexpectedly
 
 Following is my WIX Code.
 
 Component Id=service.exe
 Guid={8382F93F-A092-4344-9996-845A9F7DF9A7}
 Condition(NOT VersionNT=500) AND (NOT
 VersionNT64)/Condition
 File Id=service.exe Name=svc_1 KeyPath=yes
 LongName=service.exe Compressed=yes DiskId=1 Source=service.exe
 /
 ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
 Remove=uninstall /
 ServiceInstall Id=NewServiceInstall2 Name=Svc
 DisplayName=Service Type=ownProcess Start=auto
 ErrorControl=normal
 Description=Enables the Client service. If this service is stopped,
 Client-protected content will be unavailable.
 ServiceDependency Id=EventLog /
 ServiceDependency Id=RpcSs /
 ServiceDependency Id=Dnscache /
 ServiceDependency Id=CryptSvc /
 ServiceDependency Id=TermService /
 /ServiceInstall
  /Component  
 
 
 CustomAction Id=StartService Return=check Execute=commit
 impersonate=noExeCommand=startservice FileKey=xyz.exe
 /CustomAction
 
 InstallExecuteSequence
 InstallInitialize Sequence=1500/
 StopServices Sequence=1900versionNT/StopServices
 DeleteServices Sequence=2200versionNT/DeleteServices
 --
 InstallServices Sequence=5800versionNT/InstallServices
 StartServices Sequence=5900versionNT/StartServices
 Custom Action=StartService Sequence=5902Not Installed/Custom
 InstallFinalize Sequence=6500/
 /InstallExecuteSequence 
 
 property ID = ALLUSers1/property
 
 Here I used custom action type as Commit(commit custom actions executes
 after installfinalize), because in Vista the runtime will NOT be
 accessible
 to xyz.exe (the xyz.exe depends on the C runtime And iam installing the C
 runtime in the installer via merge module) until *after* the installer
 completes installation. 
 
 With Custom action type Deffered, custom action is failing while
 installation.
 With custom action type Commit, installation is sucsseful, but service
 is
 not started.
 SOme times when I try manually, it is starting, some times not.
 I want per-machine installation
 
 The above code is working fine in XP, but failing in Vista
 
 Any Ideas???
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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/Service-%40vista-tp15480061p15496164.html
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 2008.
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] Service in vista

2008-02-15 Thread SaiTeja

Hi,
   
This is regarding Vista Service.

Because the service.exe has dependencies, I created one merge
module.msi(with all x86 including debug mergemodules) and installed. After
that I installed my installer. This time installation is successfully, But
service is not started after reboot automatically(service start type is
auto). But when I start service manually, service is started.

I am testing this in Virtual Images. The above case is working for vista
ultimate virtual image. But for Vista Enterprise and Business virtual images
it is not working.

So In vista ultimate it is working means. there is no problem with service
and component.

Can you tell me, what is the wrong here. Is it the problem with virtual
image or service?

Why service is not started automatically after reboot, even service type is
auto
Why it is started when I try to start manually from services.msc after
installation.


Thanks in advance, 
-- 
View this message in context: 
http://www.nabble.com/Service-in-vista-tp15496953p15496953.html
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 2008.
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] Service @vista

2008-02-15 Thread SaiTeja

Some times it is wokring fine, some times not.

Event log says The Service  terminated unexpectedly



Rob Hamflett wrote:
 
 Does the event manager tell you anything?  After you've started the
 service manually from the 
 services panel, do future attempts to install it succeed (after you've
 uninstalled it, obviously).
 
 Rob
 
 SaiTeja wrote:
 Hi,
 
 Thanks for response
 
 Because the service has dependencies, I created one merge module.msi(with
 all x86 including debug mergemodules) and installed. After that I
 installed
 my installer. This time installation is successfully, But service is not
 started after reboot automatically(service start type is auto). But when
 I
 start service manually, service is started.
 
 I am testing this in Virtual Images. The above case is working for vista
 ultimate virtual image. But for Vista Enterprise and Business virtual
 images
 it is not working.
 
 So In vista ultimate it is working means. there is no problem with
 service
 and component.
 
 Can you tell me, what is the wrong here. Is it the problem with virtual
 image or service?
 
 Why service is not started automatically after reboot, even service type
 is
 auto
 Why it is started when I try to start manually from services.msc after
 installation.
 
 
 Thanks in advance,
 
 
 
 
 
 Rob Hamflett wrote:
 It sounds like your service just doesn't work under Vista.  Can you run
 it
 as a normal exe?  Have 
 you tried putting any logging in your service to see how far it gets?

 Rob

 SaiTeja wrote:
 Hi,

 I have a service installed on windows vista. The startup type for this
 service is Automatic. The service is not starting after reboot. When
 i
 try
 starting the service from Service Control Manager, the error is
 something
 like Windows could not start the service on Local Computer Error 1067:
 The
 process terminated unexpectedly. The event logs just displays The
 service
 terminated unexpectedly

 Following is my WIX Code.

 Component Id=service.exe
 Guid={8382F93F-A092-4344-9996-845A9F7DF9A7}
 Condition(NOT VersionNT=500) AND (NOT
 VersionNT64)/Condition
 File Id=service.exe Name=svc_1 KeyPath=yes
 LongName=service.exe Compressed=yes DiskId=1 Source=service.exe
 /
 ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
 Remove=uninstall /
 ServiceInstall Id=NewServiceInstall2 Name=Svc
 DisplayName=Service Type=ownProcess Start=auto
 ErrorControl=normal
 Description=Enables the Client service. If this service is stopped,
 Client-protected content will be unavailable.
 ServiceDependency Id=EventLog /
 ServiceDependency Id=RpcSs /
 ServiceDependency Id=Dnscache /
 ServiceDependency Id=CryptSvc /
 ServiceDependency Id=TermService /
 /ServiceInstall
  /Component  


 CustomAction Id=StartService Return=check Execute=commit
 impersonate=noExeCommand=startservice FileKey=xyz.exe
 /CustomAction

 InstallExecuteSequence
 InstallInitialize Sequence=1500/
 StopServices Sequence=1900versionNT/StopServices
 DeleteServices Sequence=2200versionNT/DeleteServices
 --
 InstallServices Sequence=5800versionNT/InstallServices
 StartServices Sequence=5900versionNT/StartServices
 Custom Action=StartService Sequence=5902Not
 Installed/Custom
 InstallFinalize Sequence=6500/
 /InstallExecuteSequence 

 property ID = ALLUSers1/property

 Here I used custom action type as Commit(commit custom actions
 executes
 after installfinalize), because in Vista the runtime will NOT be
 accessible
 to xyz.exe (the xyz.exe depends on the C runtime And iam installing the
 C
 runtime in the installer via merge module) until *after* the installer
 completes installation. 

 With Custom action type Deffered, custom action is failing while
 installation.
 With custom action type Commit, installation is sucsseful, but
 service
 is
 not started.
 SOme times when I try manually, it is starting, some times not.
 I want per-machine installation

 The above code is working fine in XP, but failing in Vista

 Any Ideas???

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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 2008.
 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/Service-%40vista

[WiX-users] Service @vista

2008-02-14 Thread SaiTeja

Hi,

I have a service installed on windows vista. The startup type for this
service is Automatic. The service is not starting after reboot. When i try
starting the service from Service Control Manager, the error is something
like Windows could not start the service on Local Computer Error 1067: The
process terminated unexpectedly. The event logs just displays The service
terminated unexpectedly

Following is my WIX Code.

Component Id=service.exe Guid={8382F93F-A092-4344-9996-845A9F7DF9A7}
Condition(NOT VersionNT=500) AND (NOT VersionNT64)/Condition
File Id=service.exe Name=svc_1 KeyPath=yes
LongName=service.exe Compressed=yes DiskId=1 Source=service.exe /
ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
Remove=uninstall /
ServiceInstall Id=NewServiceInstall2 Name=Svc
DisplayName=Service Type=ownProcess Start=auto ErrorControl=normal
Description=Enables the Client service. If this service is stopped,
Client-protected content will be unavailable.
ServiceDependency Id=EventLog /
ServiceDependency Id=RpcSs /
ServiceDependency Id=Dnscache /
ServiceDependency Id=CryptSvc /
ServiceDependency Id=TermService /
/ServiceInstall
 /Component  


CustomAction Id=StartService Return=check Execute=commit
impersonate=noExeCommand=startservice FileKey=xyz.exe
/CustomAction

InstallExecuteSequence
InstallInitialize Sequence=1500/
StopServices Sequence=1900versionNT/StopServices
DeleteServices Sequence=2200versionNT/DeleteServices
--
InstallServices Sequence=5800versionNT/InstallServices
StartServices Sequence=5900versionNT/StartServices
Custom Action=StartService Sequence=5902Not Installed/Custom
InstallFinalize Sequence=6500/
/InstallExecuteSequence 

property ID = ALLUSers1/property

Here I used custom action type as Commit(commit custom actions executes
after installfinalize), because in Vista the runtime will NOT be accessible
to xyz.exe (the xyz.exe depends on the C runtime And iam installing the C
runtime in the installer via merge module) until *after* the installer
completes installation. 

With Custom action type Deffered, custom action is failing while
installation.
With custom action type Commit, installation is sucsseful, but service is
not started.
SOme times when I try manually, it is starting, some times not.
I want per-machine installation

The above code is working fine in XP, but failing in Vista

Any Ideas???
-- 
View this message in context: 
http://www.nabble.com/Service-%40vista-tp15480061p15480061.html
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 2008.
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] UnInstalling

2008-02-08 Thread SaiTeja

Hi,

Even am also new to this :(

Windows installer will automatically take care for
installation/uninstallation

Command: msiexec /x .msi

The above command you can run from command prompt(where your msi is placed.
For example if it is in C drive, then C:\msiexec /x xxx.msi). Custom action
is not required for installation/uninstallation

Hope this clears.


ramya ragupathy wrote:
 
 Hi
 am new to wix and i need ur help in knowing how to 
 code for uninstallation in wix..coul u pls guide me through 
 the uninstallation process in wix?
 i tried uninstalling by using the command msiexec /x in a custom action
 and i had an error poping up
 
 
 TIA
 ramya
 
 
 
 SaiTeja wrote:
 
 Hi,
 
 My INSTALDIR refers to C:\Program Files\Test Program\Client
 
 Client Folder has, Some files and One folder with one file
 
 While uninstalling, all files in Client are deleted properly. But Folder
 is not deleted.
 
 After uninstalling, In my program files Test Program Folder, Inside
 Client Folder, Inside Another folder with file are left. 
 
 Following is my Execute sequence
 
InstallExecuteSequence
  InstallValidate Sequence=1400 /
  RemoveExistingProducts Sequence=1499 /
   InstallInitialize Sequence=1500 /
  RemoveRegistryValues Sequence=2600 /
   UnregisterClassInfo Sequence=2700 /
   RemoveFiles Sequence=3500 /
   RemoveFolders Sequence=3600 /
   CreateFolders Sequence=3700 /
   MoveFiles Sequence=3800 / 
/InstallExecuteSequence
 
 can any one tell  what is the problem here
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/UnInstalling-tp14294476p15351441.html
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 2008.
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] after upgrade, restart - select shortcut reinstalls again

2008-02-03 Thread SaiTeja

Hi,

I have two installers. One has version 3.2 and another one has version 3.3
with upgrade functionality.

I have implemented the major upgrade feature for my Client installer(version
3.3). First I have instlled installer with version 3.2 after system restarts
again I have installed with version 3.3. The upgrade happens properly and
the system restarts (first instance).

Following the restart if I directly run the “xyz.exe” from the installation
directory, the client works fine. However if we go through the Start menu
shortcut, the installation initialization dialog is shown and seems as the
Client msi is executed without showing the UI dialogs. The system again
restarts (second instance) after this process. After the second restart the
client works fine from the Start menu shortcut. I might be missing something
here but not sure what. If anyone has faced this issue or know what could be
happening, please give us pointers.

Following is the code

Component Id=xyz.exe Guid={F8490247-4CA0-4D0F-B4DC-A711652F2CAC}
 File Id=xyz.exe Name=x_1 LongName=xyz.exe KeyPath=yes
Compressed=yes DiskId=1 Source=xyz.exe/
RemoveFolder Id=NewShortcut5 Directory=ProgramMenuFolder On=uninstall
/  
Shortcut Id=NewShortcut5 Directory=ProgramMenuFolder Name=xyzl
LongName=xyz Icon=xyz.exe IconIndex=0 Show=normal Advertise=yes/ 
  
/Component  

The above component is there in both installers(version 3.3 and 3.2)
-- 
View this message in context: 
http://www.nabble.com/after-upgrade%2Crestart---select-shortcut-reinstalls-again-tp15251795p15251795.html
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 2008.
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] Custom Table

2008-02-02 Thread SaiTeja

Hi,

Can anyone explain about CustomTable?
Why  Where it is useful?

When I open my Client.msi orca I saw IsComponentExtended and IsSelfReg
on right side(Tables row).
I know these are InstallShield related. When I apply Dark.exe on Client.MSI
I saw Custom Table.
Below is sample
CustomTable Id=ISComponentExtended
Column Id=Component_ PrimaryKey=yes Type=string
Width=72 /
Column Id=OS Type=int Width=4 Nullable=yes /
Column Id=Language Type=string Width=0 Nullable=yes /
Column Id=FilterProperty Type=string Width=72
Nullable=yes /
Row
Data Column=Component_xyz.exe/Data
Data Column=OS /
Data Column=Language /
Data
Column=FilterProperty_DBB4D7A1_FEDA_4E20_9A78_2F4324E84561_FILTER/Data
   /Row
It is showing components which are already there at components on right
side(Tables row)

What is the difference b/w them? 

Is it required to add? If so How in Wix?

Can any one tell what is the necessity of this? 
Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/Custom-Table-tp15251084p15251084.html
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 2008.
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] Size of feature

2008-01-31 Thread SaiTeja

Hi,

My question is different.

See in CustomSetup Dialog, you will find one message as This feature
requires 200MB on your hard drive

Now for silent install functionality i want this number(200MB) to compare
the space.

For example:

My C drive has actual disk space 100MB and D drive has space 2GB

According to my silent install functionality, reqdiskspace is 200 MB, but C
drive has only 100 MB
So with my functionality, the installer automatically select next avilable
drive(here D drive).
if(reqdiskspaceactualdiskspace)
go for next drive

Presently reqdiskspace I hardcoded as 200MB(what ever the number is there in
message This feature requires)

But in future of my feature size increases to 300 MB, then again I have to
modify manually
int reqdiskspace=300

So  to avoid this, I want the number in that message. So i will get this
number through MSIGETPROPERTY
in my C++ DLL and I can use. 

SaiTeja wrote:
 
 
 
 Wilson, Phil wrote:
 
 Generally speaking you don't need to do this. If you want to ensure space
 at some directory location you use the ReserveCost mechanism and let
 Windows figure out if there's enough room.  Windows already computes the
 size of the feature for space checking, and ReserveCost lets you change
 it. Why reinvent it?
 Hi,
 
 My question is different.
 
 See in CustomSetup Dialog, you will find one message as This feature
 requires 200MB on your hard drive
 
 Now for silent install functionality i want this number(200MB) to compare
 the space.
 
 For example: 
 
 My C drive has actual disk space 100MB and D drive has space 2GB
 
 According to my silent install functionality, reqdiskspace is 200 MB, but
 C drive has only 100 MB
 So with my functionality, the installer automatically select next
 avilable drive(here D drive).
 if(reqdiskspaceactualdiskspace)
 go for next drive
 
 Presently reqdiskspace I hardcoded as 200MB(what ever the number is there
 in message This feature requires)
 
 But in future of my feature size increases to 300 MB, then again I have
 to modify manually 
 int reqdiskspace=300
 
 So  to avoid this, I want the number in that message. So i will get this
 number through MSIGETPROPERTY
 in my C++ DLL and I can use.
 
 
 
 
 
 
 
 
 If you want to try it yourself, MsiGetFeatureCost is perhaps what you'd
 call, but you'd have to sequence it after InstallValidate. I hesitate to
 even suggest this because the sequencing is critical, I doubt you can
 make it work in the UI sequence, and using sample code that tells you to
 call actions like InstallValidate yourself is likely to be giving you a
 shovel for the hole you'll be digging yourself into.
 
 So as is common with many MSI questions:
 
 Advice: Don't do it - use ReserveCost.
 
 Technically (mostly) accurate answer: MsiGetFeatureCost (but I think
 you'll regret it).
 
 Phil Wilson
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Tuesday, January 29, 2008 8:10 PM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Size of feature
 
 
 Hi,
 
 Thanks for reply.
 
 What I want is size(XX MB). I want this number to assign some
 variable(int
 reqdiskspace) for checking disk space logic.
 Presently I added manually the variable reqdiskspace=YY(for ex int
 reqdiskspace=100)
 In future if size of feature increases then I again I have to modify
 manually the reqdiskspace.
 
 So is it possible to assign the same to property, so that I can get the
 value through msigetproperty.
 
 
 
 
 
 Sebastian Brand-2 wrote:

 The texts for this are definied in the properties
 SelChildCostPos, SelChildCostNeg, SelParentCostPosPos,
 SelParentCostPosNeg, SelParentCostNegPos, SelParentCostNegNeg

 In the MSI help you can find details about this at the SelectionList
 control description
 (http://msdn2.microsoft.com/en-us/library/aa371604.aspx
 )

 However, you cannot change the size displayed there.


 Best regards,
 Sebastian Brand

 Instyler Software - http://www.instyler.com


 On Jan 26, 2008, at 12:27 , SaiTeja wrote:


 Hi,

 On Cusomize dialog, This feature requires xxMB on your hard drive

 Can any one tell me is it possible assign size(xx) to any property?
 If yes
 how?
 --
 View this message in context:
 http://www.nabble.com/Size-of-feature-tp15106940p15106940.html
 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 2008.
 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
 http://msdn2.microsoft.com/en-us/library/aa371604.aspx

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http

Re: [WiX-users] Size of feature

2008-01-31 Thread SaiTeja



Wilson, Phil wrote:
 
 Generally speaking you don't need to do this. If you want to ensure space
 at some directory location you use the ReserveCost mechanism and let
 Windows figure out if there's enough room.  Windows already computes the
 size of the feature for space checking, and ReserveCost lets you change
 it. Why reinvent it?
 Hi,
 
 My question is different.
 
 See in CustomSetup Dialog, you will find one message as This feature
 requires 200MB on your hard drive
 
 Now for silent install functionality i want this number(200MB) to compare
 the space.
 
 For example: 
 
 My C drive has actual disk space 100MB and D drive has space 2GB
 
 According to my silent install functionality, reqdiskspace is 200 MB, but
 C drive has only 100 MB
 So with my functionality, the installer automatically select next avilable
 drive(here D drive).
 if(reqdiskspaceactualdiskspace)
 go for next drive
 
 Presently reqdiskspace I hardcoded as 200MB(what ever the number is there
 in message This feature requires)
 
 But in future of my feature size increases to 300 MB, then again I have to
 modify manually 
 int reqdiskspace=300
 
 So  to avoid this, I want the number in that message. So i will get this
 number through MSIGETPROPERTY
 in my C++ DLL and I can use.
 
 
 
 
 
 
 
 
 If you want to try it yourself, MsiGetFeatureCost is perhaps what you'd
 call, but you'd have to sequence it after InstallValidate. I hesitate to
 even suggest this because the sequencing is critical, I doubt you can make
 it work in the UI sequence, and using sample code that tells you to call
 actions like InstallValidate yourself is likely to be giving you a shovel
 for the hole you'll be digging yourself into.
 
 So as is common with many MSI questions:
 
 Advice: Don't do it - use ReserveCost.
 
 Technically (mostly) accurate answer: MsiGetFeatureCost (but I think
 you'll regret it).
 
 Phil Wilson
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Tuesday, January 29, 2008 8:10 PM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Size of feature
 
 
 Hi,
 
 Thanks for reply.
 
 What I want is size(XX MB). I want this number to assign some variable(int
 reqdiskspace) for checking disk space logic.
 Presently I added manually the variable reqdiskspace=YY(for ex int
 reqdiskspace=100)
 In future if size of feature increases then I again I have to modify
 manually the reqdiskspace.
 
 So is it possible to assign the same to property, so that I can get the
 value through msigetproperty.
 
 
 
 
 
 Sebastian Brand-2 wrote:

 The texts for this are definied in the properties
 SelChildCostPos, SelChildCostNeg, SelParentCostPosPos,
 SelParentCostPosNeg, SelParentCostNegPos, SelParentCostNegNeg

 In the MSI help you can find details about this at the SelectionList
 control description
 (http://msdn2.microsoft.com/en-us/library/aa371604.aspx
 )

 However, you cannot change the size displayed there.


 Best regards,
 Sebastian Brand

 Instyler Software - http://www.instyler.com


 On Jan 26, 2008, at 12:27 , SaiTeja wrote:


 Hi,

 On Cusomize dialog, This feature requires xxMB on your hard drive

 Can any one tell me is it possible assign size(xx) to any property?
 If yes
 how?
 --
 View this message in context:
 http://www.nabble.com/Size-of-feature-tp15106940p15106940.html
 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 2008.
 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
 http://msdn2.microsoft.com/en-us/library/aa371604.aspx

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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/Size-of-feature-tp15106940p15175138.html
 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 2008.
 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

Re: [WiX-users] Service is not started in Vista, working fine in xp

2008-01-29 Thread SaiTeja

Hi,
Thanks for resp.

Yaa I tried. When I start service manually from services.msc, I got error
message as Windows Couldnot start Service on Local Computer - Error 1067:
The process terminated unexpectedly 



Sebastian Brand-2 wrote:
 
 This definitely looks like a problem of the service, not MSI or WiX.  
 Have you tried to manually install the service in Vista?
 
 Best regards,
 Sebastian Brand
 
 Instyler Software - http://www.instyler.com
 
 
 On Jan 29, 2008, at 6:23 , SaiTeja wrote:
 

 Continuation for the previous mail.

 When I start service manually from services.msc, I got error message  
 as
 Windows Couldnot start Service on Local Computer - Error 1067: The  
 process
 terminated unexpectedly



 SaiTeja wrote:

 Hi,

 Service is not started automatically after reboot in Vista.

 The same is working fine in XP.

 Following is my WIX Code.

 Component Id=service.exe Guid={8382F93F- 
 A092-4344-9996-845A9F7DF9A7}
Condition(NOT VersionNT=500) AND (NOT
 VersionNT64)/Condition
File Id=service.exe Name=svc_1 KeyPath=yes
 LongName=service.exe Compressed=yes DiskId=1  
 Source=service.exe /
ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
 Remove=uninstall /
ServiceInstall Id=NewServiceInstall2 Name=Svc
 DisplayName=Service Type=ownProcess Start=auto  
 ErrorControl=normal
 Description=Enables the Client service. If this service is stopped,
 Client-protected content will be unavailable.
ServiceDependency Id=EventLog /
ServiceDependency Id=RpcSs /
ServiceDependency Id=Dnscache /
ServiceDependency Id=CryptSvc /
ServiceDependency Id=TermService /
/ServiceInstall
/Component

 Any Ideas???



 -- 
 View this message in context:
 http://www.nabble.com/Service-is-not-started-in-Vista%2C-working-fine-in-xp-tp15152610p15152698.html
 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 2008.
 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 2008.
 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/Service-is-not-started-in-Vista%2C-working-fine-in-xp-tp15152610p15175140.html
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 2008.
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] Size of feature

2008-01-29 Thread SaiTeja

Hi,

Thanks for reply.

What I want is size(XX MB). I want this number to assign some variable(int
reqdiskspace) for checking disk space logic.
Presently I added manually the variable reqdiskspace=YY(for ex int
reqdiskspace=100)
In future if size of feature increases then I again I have to modify
manually the reqdiskspace.

So is it possible to assign the same to property, so that I can get the
value through msigetproperty.





Sebastian Brand-2 wrote:
 
 The texts for this are definied in the properties
 SelChildCostPos, SelChildCostNeg, SelParentCostPosPos,  
 SelParentCostPosNeg, SelParentCostNegPos, SelParentCostNegNeg
 
 In the MSI help you can find details about this at the SelectionList  
 control description
 (http://msdn2.microsoft.com/en-us/library/aa371604.aspx 
 )
 
 However, you cannot change the size displayed there.
 
 
 Best regards,
 Sebastian Brand
 
 Instyler Software - http://www.instyler.com
 
 
 On Jan 26, 2008, at 12:27 , SaiTeja wrote:
 

 Hi,

 On Cusomize dialog, This feature requires xxMB on your hard drive

 Can any one tell me is it possible assign size(xx) to any property?  
 If yes
 how?
 -- 
 View this message in context:
 http://www.nabble.com/Size-of-feature-tp15106940p15106940.html
 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 2008.
 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
 http://msdn2.microsoft.com/en-us/library/aa371604.aspx
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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/Size-of-feature-tp15106940p15175138.html
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 2008.
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] Service is not started in Vista, working fine in xp

2008-01-28 Thread SaiTeja

Hi,

Service is not started automatically after reboot in Vista. 

The same is working fine in XP.

Following is my WIX Code.

Component Id=service.exe Guid={8382F93F-A092-4344-9996-845A9F7DF9A7}
Condition(NOT VersionNT=500) AND (NOT VersionNT64)/Condition
File Id=service.exe Name=svc_1 KeyPath=yes
LongName=service.exe Compressed=yes DiskId=1 Source=service.exe /
ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
Remove=uninstall /
ServiceInstall Id=NewServiceInstall2 Name=Svc
DisplayName=Service Type=ownProcess Start=auto ErrorControl=normal
Description=Enables the Client service. If this service is stopped,
Client-protected content will be unavailable.
ServiceDependency Id=EventLog /
ServiceDependency Id=RpcSs /
ServiceDependency Id=Dnscache /
ServiceDependency Id=CryptSvc /
ServiceDependency Id=TermService /
/ServiceInstall
/Component  

Any Ideas???

-- 
View this message in context: 
http://www.nabble.com/Service-is-not-started-in-Vista%2C-working-fine-in-xp-tp15152610p15152610.html
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 2008.
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] Command Line Parameter

2008-01-28 Thread SaiTeja

Hi

This is not Wix related question. Sorry for posting this. But If any one
knows please let me know 

Am using Sharp Develop Tool for my Wix Project.

For example(Please see below code) I want to set the ProcessorArchitecture
variable, for this the general way is adding the following command line
parameter when calling candle.exe to compile the WXS file:


 

?if $(var.ProcessorArchitecture)=x64 ?
?define Property_ProductCode = EF31CAFE-DE7F-42C8-9B4F-8034D87D3C61
?
?else ?
?define Property_ProductCode = 0A40747E-717B-4426-8E15-81E6A65E37C3
?
?endif ?

 

%WIX_BUILD_LOCATION%\candle.exe setup.wxs
-dProcessorArchitecture=%PROCARCH% -out setup_%PROCARCH%.wixobj

I want set one varible and I want to build in SharpDevelop. How Can I add
the same for my Wix project in SharpDevelop Tool???
-- 
View this message in context: 
http://www.nabble.com/Command-Line-Parameter-tp15154095p15154095.html
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 2008.
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] Size of feature

2008-01-26 Thread SaiTeja

Hi,

On Cusomize dialog, This feature requires xxMB on your hard drive

Can any one tell me is it possible assign size(xx) to any property? If yes
how?
-- 
View this message in context: 
http://www.nabble.com/Size-of-feature-tp15106940p15106940.html
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 2008.
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] Click next control event - Prematurely Stopped

2008-01-26 Thread SaiTeja

Hi,

I tried, but still it is stopped.

Project is Visual C++ - Win32 - Win32 project

Please find attached code.

It is working fine in Vista OS 32 bit, windows server 2003 both 32 and 64
bit

Not working in xp 32 bit :(

Any ideas???



Peter Jaworski wrote:
 
 I created DLL in MicroSoft Visual Studio
 and the type of file is Application Extension
 
 Could you give more detailed information. All DLLs are Application
 Extension please describe which project type you have chosen for
 creating DLL under VS (FileNewProject..Other LanguagesVisual C++;
 here you will find list of possible projects, which one is yours?).
 
 See this: http://www.wixwiki.com/index.php?title=Simple_Custom_Action_Dll,
 there you have description what type of project to choose for
 CustomAction DLL.
 
 Best regards,
 Peter Jaworski
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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/Click-next-control-event---Prematurely-Stopped-tp15062166p15116426.html
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 2008.
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] Click next control event - Prematurely Stopped

2008-01-24 Thread SaiTeja

Hi,

Am using one DLL custom action.

This custom action am calling when user clicks next button in xyz.dlg

Some machines it is working fine(i.e. opened next dialog) and in some
machines immediately it is displaying Prematurely Stopped dialog and
installation fails.

There is no wrong in dll. Because it is working fine in some OS's. 

Can any one tell what is the wrong here.

Following is the wix code:

In dialog
-
Control Id=Next Type=PushButton X=236 Y=243 Width=56
Height=17 Default=yes Text=$(loc.WixUINext)
Publish Event=DoAction Value=InvChrs1/Publish   
Publish Event=NewDialog
Value=[WixUI_lServicesDlg_Next]SERVICE_INV=Service Name
Correct/Publish
/Control

Custom Action:
--
Binary Id=BinInv SourceFile=CustomAction.dll/
CustomAction Id=InvChrs BinaryKey=BinInv
DllEntry=Fn_toChkInvalidChars/

-- 
View this message in context: 
http://www.nabble.com/Click-next-control-event---Prematurely-Stopped-tp15062166p15062166.html
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 2008.
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] Click next control event - Prematurely Stopped

2008-01-24 Thread SaiTeja

Thanks for responses.

I created DLL in MicroSoft Visual Studio
and the type of file is Application Extension

Please find uploadfile for the DLL.

http://www.nabble.com/file/p15081184/invdll.txt invdll.txt 

and following is wix code

In dialog
-
Control Id=Next Type=PushButton X=236 Y=243 Width=56
Height=17 Default=yes Text=$(loc.WixUINext)
Publish Event=DoAction Value=InvChrs1/Publish

Publish Event=NewDialog
Value=[WixUI_lServicesDlg_Next]SERVICE_INV=Service Name
Correct/Publish
/Control

Custom Action:
--
Binary Id=BinInv SourceFile=CustomAction.dll/
CustomAction Id=InvChrs BinaryKey=BinInv
DllEntry=Fn_toChkInvalidChars/ 

Thanks




Peter Jaworski wrote:
 
 Am using one DLL custom action.
 (..)
 There is no wrong in dll. Because it is working fine in some OS's.
 
 Tell us something more about DLL, especially what kind of DLL is it
 (MFC, COM, .net...).
 How it is linked. It may need some runtimes that cause that on some
 installations it works (because libraries or runtimes are present) and
 on other it does not
 
 Best regards,
 Piotr Jaworski
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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/Click-next-control-event---Prematurely-Stopped-tp15062166p15081184.html
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 2008.
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] Custom actions working fine in xp - failing in Vista

2008-01-23 Thread SaiTeja

Hi,

I have created a WIX installer that works perfectly on XP.

But When I try in Vista Business, my custom actions are failing

Below is the custom action

CustomAction Id=UninstallLogonHandler Return=check Execute=deferred
ExeCommand=UninstallLogonHandler FileKey=xyz.exe
/CustomAction

InstallExecuteSequence
Custom Action=UninstallLogonHandler Sequence=4400Not
Installed/Custom 
/InstallExecuteSequence


I tried with Impersonate=yes and Impersonate=no. Still it is failing

Any ideas of what might be this issue would be greatly appreciated. 


I want my installer should work on xp,vista,windows server2003 per machine.


please suggest solution for general cases like admin check, registry, COM
objects etc also.

-- 
View this message in context: 
http://www.nabble.com/Custom-actions-working-fine-in-xp---failing-in-Vista-tp15041566p15041566.html
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 2008.
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 actions working fine in xp - failing in Vista

2008-01-23 Thread SaiTeja

Hi 

Thanks for respones.

Log says:

Action 18:50:25: UninstallLogonHandler. 
Error 1721. There is a problem with this Windows Installer package. A
program required for this install to complete could not be run. Contact your
support personnel or package vendor. Action: UninstallLogonHandler,
location: C:\program files\Client\xyz.exe, command: UninstallLogonHandler 
DEBUG: Error 2888:  Executing the TextStyle view failed
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2888. The
arguments are: TextStyle, , 

The same custom action( UninstallLogonHandler and File Key: XYZ.exe) is
working fine with XP

Thanks

 


Johan Appelgren wrote:
 
 On Jan 23, 2008 2:20 PM, SaiTeja [EMAIL PROTECTED] wrote:

 Hi,

 I have created a WIX installer that works perfectly on XP.

 But When I try in Vista Business, my custom actions are failing

 Below is the custom action

 CustomAction Id=UninstallLogonHandler Return=check
 Execute=deferred
 ExeCommand=UninstallLogonHandler FileKey=xyz.exe
 /CustomAction

 InstallExecuteSequence
 Custom Action=UninstallLogonHandler Sequence=4400Not
 Installed/Custom
 /InstallExecuteSequence


 I tried with Impersonate=yes and Impersonate=no. Still it is failing

 Any ideas of what might be this issue would be greatly appreciated.


 I want my installer should work on xp,vista,windows server2003 per
 machine.


 please suggest solution for general cases like admin check, registry, COM
 objects etc also.
 
 What does a log of a failed install say? msiexec /i your.msi /lv*
 install.log
 
 What does xyz.exe do?
 
 /Johan
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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-actions-working-fine-in-xp---failing-in-Vista-tp15041566p15041914.html
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 2008.
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] Flag Setting

2008-01-23 Thread SaiTeja

Hi,

Like in install shield, is Wix has Release Flags? If yes can any one tell me
how to do in wix

Note:
For example, if you are creating a trial version of your product and do not
want to include all the features in the build, you can flag features and
then specify those flagged features under the product configuration or the
release.
-- 
View this message in context: 
http://www.nabble.com/Flag-Setting-tp15058668p15058668.html
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 2008.
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] MSI not removed files under allusers-application data

2008-01-23 Thread SaiTeja

Hi,

I added one component(xyz.exe) property Permanent=yes

When I uninstall the client, xyz.exe is still there under INSTALLDIR.
I think this becuase of property permanent=yes.

Also when I uninstall the client, the files under C:\Documents and
Settings\All Users\Application Data\Test Machine are not removed.  (I
believe the correct behavior is to remove all files there except for a
couple of log files.)

I created same MSI through InstallShield, after uninstalling it is created
.tmp(2008-01-23T06%3a50%3a39%2e577Zxyz.exe.tmp) under INSTALLDIR and it
removed all files from C:\Documents and Settings\All Users\Application
Data\Test Machine except for a couple of log files.

Can any one give ideas?
-- 
View this message in context: 
http://www.nabble.com/MSI-not-removed-files-under-allusers-application-data-tp15058673p15058673.html
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 2008.
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] not removed - Documents and Settings\All Users\Application Data

2008-01-22 Thread SaiTeja

Hi,

I added one component(xyz.exe) property Permanent=yes

When I uninstall the client, xyz.exe is still there under INSTALLDIR.
I think this becuase of property permanent=yes.

Also when I uninstall the client, the files from C:\Documents and
Settings\All Users\Application Data\Test Machine are not removed.  (I
believe the correct behavior is to remove all files there except for a
couple of log files.)

I created same MSI through InstallShield, after uninstalling it is created
.tmp(2008-01-23T06%3a50%3a39%2e577Zxyz.exe.tmp) under INSTALLDIR and it
removed all files from C:\Documents and Settings\All Users\Application
Data\Test Machine.

Can any one give ideas?
-- 
View this message in context: 
http://www.nabble.com/not-removed---Documents-and-Settings%5CAll-Users%5CApplication-Data-tp15036147p15036147.html
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 2008.
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] CustomTable

2008-01-21 Thread SaiTeja

Hi,

Can anyone explain about CustomTable?
Why  Where it is useful?

When I open my Client.msi orca I saw IsComponentExtended on right
side(Tables row)
It is showing components which are already there at components on right
side(Tables row)

What is the difference b/w them?

-- 
View this message in context: 
http://www.nabble.com/CustomTable-tp14995031p14995031.html
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 2008.
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] Is 'Release Flags' property is there in Wix?

2008-01-21 Thread SaiTeja

Hi,

Like install shield, in Wix do we have Release Flags? If yes can any one
give related urls?

Note:
For example, if you are creating a trial version of your product and do not
want to include all the features in the build, you can flag features and
then specify those flagged features under the product configuration or the
release. 


-- 
View this message in context: 
http://www.nabble.com/Is-%27Release-Flags%27-property-is-there-in-Wix--tp15013322p15013322.html
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 2008.
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] upgrade dialog

2008-01-18 Thread SaiTeja

Hi,

Can any one  give any site or link which gives the source code of upgrade
welcome dialog and upgrade dialog 
and some related examples.

Thanks in advance 

-- 
View this message in context: 
http://www.nabble.com/upgrade-dialog-tp14949693p14949693.html
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 2008.
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] Error 1722. There is a problem with this Windows Installer package

2008-01-18 Thread SaiTeja

Hi,

Below is my custom action

CustomAction Id=StartGuardIfSafe Return=check HideTarget=no
Execute=deferred Impersonate=yes TerminalServerAware=no
ExeCommand=StartGuardIfSafe FileKey=xyz.exe
/CustomAction 

While installing am getting the error. Below is the error

Action 11:41:04: InstallServices. Installing new services
Action 11:41:05: StartServices. Starting services
Action 11:41:05: StartGuardIfSafe. 
Error 1722. There is a problem with this Windows Installer package. A
program run as part of the setup did not finish as expected. Contact your
support personnel or package vendor. Action StartGuardIfSafe, location:
C:\Client\xyz.exe, command: StartGuardIfSafe 

DEBUG: Error 2888:  Executing the TextStyle view failed
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2888. The
arguments are: TextStyle, , 
Action ended 11:41:08: InstallFinalize. Return value 3.

-- 
View this message in context: 
http://www.nabble.com/Error-1722.-There-is-a-problem-with-this-Windows-Installer-package-tp14967757p14967757.html
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 2008.
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] Service started stoped but Not removed from Servcies.msc

2008-01-17 Thread SaiTeja

Hi,

I have one service related binary(guardsvc.exe)

It is started properly while installing and stoped while uninstalling.

The problem is it is not deleted the corresponding registry
key(HKL\SYSTEM\ControlSet001\Services\guardsvc.exe) and because of this
registry key it is visible in  Services.msc

following is wix code. If anyone can guide me, would be of great help.  

Component Id=guardsvc.exe
Guid={EB172BF4-C1F7-467F-89C3-A5B73F3E8B45} SharedDllRefCount=no
Location=local
  Condition(NOT VersionNT=500) AND (NOT VersionNT64)/Condition
  File Id=guardsvc.exe Name=guar_1 LongName=guardsvc.exe 
DiskId=1
Source=guardsvc.exe /
  ServiceInstall Id=guardsvc.exe ErrorControl=normal
Name=guards.exe Start=auto Type=ownProcess Interactive=no
Vital=yes DisplayName=Test Machines Client Service Description=Enables
the Test Machines Client. If this service is stopped, Test
Machines-protected content will be unavailable.
ServiceDependency Id=EventLog /
ServiceDependency Id=RpcSs /
ServiceDependency Id=Dnscache /
ServiceDependency Id=CryptSvc /
ServiceDependency Id=TermService /
  /ServiceInstall
  ServiceControl Id=guardsvc.exe Name=guards.exe 
Stop=uninstall
Remove=uninstall/
/Component

-- 
View this message in context: 
http://www.nabble.com/Service-started---stoped-but-Not-removed-from-Servcies.msc-tp14918693p14918693.html
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 2008.
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] Service started stoped but Not removed from Servcies.msc

2008-01-17 Thread SaiTeja

Hi,

Thanks for resp.

The same registry key is there at CurrentControlSet also

and the problem is still there after reboot :(

Any ideas.???




Daryn Mitchell wrote:
 
 -Original Message-
 I have one service related binary(guardsvc.exe)
 
 It is started properly while installing and stoped while uninstalling.
 
 The problem is it is not deleted the corresponding registry
 key(HKL\SYSTEM\ControlSet001\Services\guardsvc.exe) and because of 
 this registry key it is visible in  Services.msc
 
 It might be something other than a WiX problem.
 
  1) Don't look at ControlSet001, look at CurrentControlSet
  2) Is the service marked for deletion?
  3) If so, then your service won't be removed until reboot. I've seen that
 happen recently where QueryServiceStatus was called on a service, but
 CloseServiceHandle was not subsequently called to release the handle, so
 the
 service control manager would only mark the service for deletion, not
 actually remove it.
 
 Daryn.
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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/Service-started---stoped-but-Not-removed-from-Servcies.msc-tp14918693p14946388.html
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 2008.
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] Service installed but not started

2008-01-16 Thread SaiTeja

Hi,

Thanks for resp. Below is the code

Component Id=guardsvc.exe Guid={EB172BF4-C1F7-467F-89C3-A5B73F3E8B45}
DiskId=1 Win64=no
  Condition((VersionNTgt;500) AND (NOT VersionNT64))/Condition 
  File Id=guardsvc.exe Name=guards.exe LongName=guardsvc.exe
KeyPath=yes Source=guardsvc.exe/
   ServiceInstall Id=NewServiceInstall1
Name=GuardSvc
DisplayName=Test Machine Client Service
Type=ownProcess
Start=auto
ErrorControl=normal
Description=Enables the Test Machines Client. If
this service is stopped, Test Machines-protected content will be
unavailable.
Interactive=no
  ServiceDependency Id=EventLog/
  ServiceDependency Id=RpcSs/
  ServiceDependency Id=Dnscache/
  ServiceDependency Id=CryptSvc/
  ServiceDependency Id=TermService/
/ServiceInstall
ServiceControl Id=GuardvcEvent Name=GuardSvc Stop=uninstall
Remove=uninstall/
/Component   



Michal Peled wrote:
 
 Hi,
 Could you please attach the XML code of the related component?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Wednesday, January 16, 2008 5:57 AM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Service installed but not started
 
 
 I have one service related binary(guardservice.exe)  When I use
 ServiceInstall along with
 ServiceDependency(RPCS,Event Log, Terminal Service), it installs
 successfully but does not start.  I tried manually(services.msc) to
 start
 the service, but I get an error saying that the service is taking too
 long to respond.
 
 I am not sure why it won't start.  If anyone has any insight I would be
 greatly appreciative.
 
 Note: When I apply heat.exe on that binary I got error as Not a valid
 image
 -- 
 View this message in context:
 http://www.nabble.com/Service-installed-but-not-started-tp14878052p14878
 052.html
 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 2008.
 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 2008.
 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/Service-installed-but-not-started-tp14878052p14879513.html
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 2008.
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] not valid windows image

2008-01-16 Thread SaiTeja

Hi,

I have one service related binary and debug dlls and some other binaries
under client folder. When I apply heat.exe to get source.wxs(heat.exe dir
C:\client -out source.wxs) I got one message box with OK soft key. The
message is guarsvc.exe is not valid windows image. Please check this
against your installation diskette. When I click OK again I got one more
message with Abort,Retry and Ignore soft keys. Following is the message.

Debug Error!
R6034
An application has made an attempt to load the C runtime library without
using a manifest.
This is an unsupported way to load Visual C++ DLLs. You need to modify your
application to build with
a manifest.
For more information, see the Visual C++ Libraries as shared side-by-Side
assemblies topic in the
product documentation.


After I created MSI with those components, the guaurdsvc.exe is installed
properly, but service is not started. I tried manually(services.msc) to
start the service, but I get an error saying that the service is taking too
long to respond.

Could you please let me know what is the problem here.
-- 
View this message in context: 
http://www.nabble.com/not-valid-windows-image-tp14909429p14909429.html
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 2008.
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] System Services

2008-01-15 Thread SaiTeja

I tried a lot. But I couldn't get any soln :(

Can anyone give any pointer regarding how to solve this issue?



SaiTeja wrote:
 
 Hi,
 
 In my case the Guard service does not allow administrators to stop it, due
 to the possible unpleasant side-effects of stopping it while managed
 applications are running.  That means the uninstall cannot stop it in the
 normal way.  Instead, we have a custom action which runs
 StopGuardForUninstall which requests that the service stop itself using
 a specialized signal.
 
 Following is the custom actions for the same
 
   CustomAction Id=StopGuardService Return=check HideTarget=no
 Execute=deferred Impersonate=yes TerminalServerAware=no
 ExeCommand=StopGuardForUninstall FileKey=xyz.exe
 /CustomAction
 CustomAction Id=StartGuardIfSafe Return=check HideTarget=no
 Execute=immediate Impersonate=yes TerminalServerAware=no
 ExeCommand=StartGuardIfSafe FileKey=xyz.exe
 /CustomAction 
 
 InstallExecuteSequence
  Custom Action=StopGuardService Sequence=1569Installed And
 REMOVE=ALL/Custom
  Custom Action=StartGuardIfSafe Sequence=5902Not Installed/Custom 
 /InstallExecuteSequence  
 
 But Still am facing same problem.
 
 Can anyone give any pointer regarding how to solve this issue?
 
 
 
 Wilson, Phil wrote:
 
 If you manually stop the service while the product is still installed
 does it actually stop correctly? And does the process exe go away? Keep
 in mind that the whole service start/stop mechanism depends on the code
 in the service following the service message protocols and responding in
 a timely manner.
 
 Phil Wilson
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Monday, January 07, 2008 10:31 PM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] System Services
 
 
 Hi,
 
 I tried with Wait=yes.
 
 But still am getting same error. :(
 
 Action 11:56:57: UnpublishFeatures. Unpublishing Product Features
 UnpublishFeatures: Feature: TPFeature
 Action 11:56:57: StopServices. Stopping services
 StopServices: Service: Test Prg Service
 Error 1921. Service 'Test Prg Service' (GuardSvc) could not be stopped.
 Verify that you have sufficient privileges to stop system services.
 MSI (s) (00:A8) [11:57:30:156]: Product: Test Prg -- Error 1921. Service
 'Test Prg Service' (GuardSvc) could not be stopped. Verify that you have
 sufficient privileges to stop system services.
 
 Action ended 11:57:31: InstallFinalize. Return value 3.
 Action 11:57:31: Rollback. Rolling back action:
 Rollback: Stopping services
 Rollback: Unpublishing Product Features
 
 
 
 
 Wilson, Phil wrote:

 Try Wait=yes.

 When wait=no you can get a timing race between the service actually
 winding down (and the process terminating) and the attempt to delete it.
 The message might be a consequence of the process still running.

 Phil Wilson


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Monday, January 07, 2008 5:00 AM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] System Services


 Hi,

 In my project am using guarsvc.exe. Following is the code for the same

 Component Id=guardsvc.exe
 Guid={8D6F5BA9-DA8C-403F-8092-FD5A05616B2B}
 DiskId=1
   File Id=guardsvc.exe Name=grds.exe LongName=guardsvc.exe
 KeyPath=yes Source=guardsvc.exe /
 ServiceControl Id=GuardvcEvent Name=GuardSvc Stop=uninstall
 Remove=uninstall Wait=no/
 ServiceInstall Id=NewServiceInstall2
 Name=GuardSvc
 DisplayName=Test Service
 Type=ownProcess
 Start=auto
 ErrorControl=normal
 Description=Enables the Test Prg Client. If
 this
 service is stopped, test prg-protected content will be unavailable.
 Interactive=no 
   ServiceDependency Id=RpcSs /
   ServiceDependency Id=Dnscache /
   ServiceDependency Id=CryptSvc /
   ServiceDependency Id=TermService /
 /ServiceInstall
 /Component

 While Uninstalling am getting the following error.

 Service 'Test Service'(guardsvc) couldnot be deleted. Verify that you
 have
 sufficient privileges to remove system services.

 Can anyone tell me what is the wrong here?


 --
 View this message in context:
 http://www.nabble.com/System-Services-tp14665168p14665168.html
 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



 -
 Check out the new

Re: [WiX-users] System Services

2008-01-14 Thread SaiTeja

Hi,

In my case the Guard service does not allow administrators to stop it, due
to the possible unpleasant side-effects of stopping it while managed
applications are running.  That means the uninstall cannot stop it in the
normal way.  Instead, we have a custom action which runs
StopGuardForUninstall which requests that the service stop itself using a
specialized signal.

Following is the custom actions for the same

CustomAction Id=StopGuardService Return=check HideTarget=no
Execute=deferred Impersonate=yes TerminalServerAware=no
ExeCommand=StopGuardForUninstall FileKey=xyz.exe
/CustomAction
CustomAction Id=StartGuardIfSafe Return=check HideTarget=no
Execute=immediate Impersonate=yes TerminalServerAware=no
ExeCommand=StartGuardIfSafe FileKey=xyz.exe
/CustomAction 

InstallExecuteSequence
 Custom Action=StopGuardService Sequence=1569Installed And
REMOVE=ALL/Custom
 Custom Action=StartGuardIfSafe Sequence=5902Not Installed/Custom 
/InstallExecuteSequence

But Still am facing same problem.

Can anyone give any pointer regarding how to solve this issue?



Wilson, Phil wrote:
 
 If you manually stop the service while the product is still installed does
 it actually stop correctly? And does the process exe go away? Keep in mind
 that the whole service start/stop mechanism depends on the code in the
 service following the service message protocols and responding in a timely
 manner.
 
 Phil Wilson
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Monday, January 07, 2008 10:31 PM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] System Services
 
 
 Hi,
 
 I tried with Wait=yes.
 
 But still am getting same error. :(
 
 Action 11:56:57: UnpublishFeatures. Unpublishing Product Features
 UnpublishFeatures: Feature: TPFeature
 Action 11:56:57: StopServices. Stopping services
 StopServices: Service: Test Prg Service
 Error 1921. Service 'Test Prg Service' (GuardSvc) could not be stopped.
 Verify that you have sufficient privileges to stop system services.
 MSI (s) (00:A8) [11:57:30:156]: Product: Test Prg -- Error 1921. Service
 'Test Prg Service' (GuardSvc) could not be stopped. Verify that you have
 sufficient privileges to stop system services.
 
 Action ended 11:57:31: InstallFinalize. Return value 3.
 Action 11:57:31: Rollback. Rolling back action:
 Rollback: Stopping services
 Rollback: Unpublishing Product Features
 
 
 
 
 Wilson, Phil wrote:

 Try Wait=yes.

 When wait=no you can get a timing race between the service actually
 winding down (and the process terminating) and the attempt to delete it.
 The message might be a consequence of the process still running.

 Phil Wilson


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Monday, January 07, 2008 5:00 AM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] System Services


 Hi,

 In my project am using guarsvc.exe. Following is the code for the same

 Component Id=guardsvc.exe
 Guid={8D6F5BA9-DA8C-403F-8092-FD5A05616B2B}
 DiskId=1
   File Id=guardsvc.exe Name=grds.exe LongName=guardsvc.exe
 KeyPath=yes Source=guardsvc.exe /
 ServiceControl Id=GuardvcEvent Name=GuardSvc Stop=uninstall
 Remove=uninstall Wait=no/
 ServiceInstall Id=NewServiceInstall2
 Name=GuardSvc
 DisplayName=Test Service
 Type=ownProcess
 Start=auto
 ErrorControl=normal
 Description=Enables the Test Prg Client. If this
 service is stopped, test prg-protected content will be unavailable.
 Interactive=no 
   ServiceDependency Id=RpcSs /
   ServiceDependency Id=Dnscache /
   ServiceDependency Id=CryptSvc /
   ServiceDependency Id=TermService /
 /ServiceInstall
 /Component

 While Uninstalling am getting the following error.

 Service 'Test Service'(guardsvc) couldnot be deleted. Verify that you
 have
 sufficient privileges to remove system services.

 Can anyone tell me what is the wrong here?


 --
 View this message in context:
 http://www.nabble.com/System-Services-tp14665168p14665168.html
 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



 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http

[WiX-users] Service Control Install

2008-01-11 Thread SaiTeja

Hi,

am creating one MSI for both 32  64 bit OS.

Except one component is different, remaining all binaries are same for both
OS

GuardSvc32.exe for 32 bit OS and GuardSvc64.exe for 64 bit OS

Problems am facing now is

* On 32 bit OS, Service is started automatically after rebooting–
Stopping service is failing while uninstalling(GuardSvc32 couldn't be
stopped. Verify that you have sufficient privileges to stop system services)
* On 64 bit OS, Service is note starting automatically after rebooting –
Because of service is not started it is uninstalled properly.

I tried with wait = yes and even wait=no also in service control

Following is my wix code related to service control and service install

 Component Id=guardsvc32.exe
Guid={EB172BF4-C1F7-467F-89C3-A5B73F3E8B45} DiskId=1 Win64=no
  Condition((NOT VersionNT=500) AND (NOT VersionNT64))/Condition
  File Id=guardsvc32.exe Name=guards32.exe
LongName=guardsvc32.exe KeyPath=yes Source=guardsvc32.exe /
   ServiceInstall Id=NewServiceInstall1
Name=GuardSvc32
DisplayName=Test Machine Client Service
Type=ownProcess
Start=auto
ErrorControl=normal
Description=Enables the Test Machine Client. If
this service is stopped, Test Machine-protected content will be
unavailable.
Interactive=no Vital=yes
  ServiceDependency Id=EventLog/
  ServiceDependency Id=RpcSs /
  ServiceDependency Id=Dnscache /
  ServiceDependency Id=CryptSvc /
  ServiceDependency Id=TermService /
  /ServiceInstall
ServiceControl Id=Guardvc32Event Name=GuardSvc32
Stop=uninstall Remove=uninstall/
/Component

Component Id=guardsvc64.exe Guid={8D6F5BA9-DA8C-403F-8092-FD5A05616B2B}
DiskId=1 Win64=yes
  Condition((NOT VersionNT=500) AND (VersionNT64))/Condition   
File Id=guardsvc64.exe Name=grds64.exe
LongName=guardsvc64.exe KeyPath=yes Source=guardsvc64.exe /
   ServiceInstall Id=NewServiceInstall2
Name=GuardSvc64
DisplayName=Test Machine Client Service   
   
Type=ownProcess
Start=auto
ErrorControl=normal
Description=Enables the Test Machine Client. If
this service is stopped,Test Machine-protected content will be unavailable.
Interactive=no Vital=yes
  ServiceDependency Id=EventLog/
  ServiceDependency Id=RpcSs /
  ServiceDependency Id=Dnscache /
  ServiceDependency Id=CryptSvc /
  ServiceDependency Id=TermService /
/ServiceInstall
ServiceControl Id=Guardvc64Event Name=GuardSvc64
Stop=uninstall Remove=uninstall/
/Component 
-- 
View this message in context: 
http://www.nabble.com/Service-Control---Install-tp14753568p14753568.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] queries

2008-01-10 Thread SaiTeja

Hi 

I have couple of queries. 

1) I have Install Custom actions and Uninstall Custom actions.

I have added Roll back for all custom actions

now my question is How do I find all my custom actions are working fine?

2) I want my MSI should work properly on VISTA OS also
For supporting this, what modifications should I have to take care.

3) How can we find OS type ie 32 bit or 64 bit OS while MSI running?
I want to set some property's depends on OS while MSI running?


-- 
View this message in context: 
http://www.nabble.com/queries-tp14750959p14750959.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Roolback Custom Action

2008-01-07 Thread SaiTeja

HI,

following are custom actions

CA_installlog is to install some thing
CA_uninstalllog is to uninstall the same thing.

CustomAction Id='CA_uninstalllog' BinaryKey='CustomDll'
DllEntry='CAction_uninstall' Execute='immediate'/

CustomAction Id='CA_installlog BinaryKey='CustomDll'
DllEntry='CAction_install' Execute='deferred' /

Following are rollback custom actions for the same

CustomAction Id='CA_uninstalllog_Rollback' BinaryKey='CustomDll'
DllEntry='CAction_uninstall' Execute='rollback' /

CustomAction Id='CA_installlog_Rollback' BinaryKey='CustomDll'
DllEntry='CAction_install' Execute='rollback' /

InstallExecuteSequence
CustomAction ='CA_uninstalllog' Sequence = 1550
CustomAction ='CA_installlog' Sequence = 4950
CustomAction ='CA_uninstalllog_Rollback' Before = 'CA_installlog'
CustomAction ='CA_installlog_Rollback' Before = 'CA_uninstalllog'
/InstallExecuteSequence


Can any one review this and let me know is the way is right or wrong???
especially sequence
-- 
View this message in context: 
http://www.nabble.com/Roolback-Custom-Action-tp14660391p14660391.html
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] System Services

2008-01-07 Thread SaiTeja

Hi,

In my project am using guarsvc.exe. Following is the code for the same

Component Id=guardsvc.exe Guid={8D6F5BA9-DA8C-403F-8092-FD5A05616B2B}
DiskId=1
  File Id=guardsvc.exe Name=grds.exe LongName=guardsvc.exe
KeyPath=yes Source=guardsvc.exe /
ServiceControl Id=GuardvcEvent Name=GuardSvc Stop=uninstall
Remove=uninstall Wait=no/
ServiceInstall Id=NewServiceInstall2
Name=GuardSvc 
DisplayName=Test Service 
Type=ownProcess 
Start=auto
ErrorControl=normal 
Description=Enables the Test Prg Client. If this
service is stopped, test prg-protected content will be unavailable. 
Interactive=no 
  ServiceDependency Id=RpcSs /
  ServiceDependency Id=Dnscache / 
  ServiceDependency Id=CryptSvc / 
  ServiceDependency Id=TermService /
/ServiceInstall
/Component 

While Uninstalling am getting the following error.

Service 'Test Service'(guardsvc) couldnot be deleted. Verify that you have
sufficient privileges to remove system services.

Can anyone tell me what is the wrong here?


-- 
View this message in context: 
http://www.nabble.com/System-Services-tp14665168p14665168.html
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 create help file shortcut icon?

2008-01-07 Thread SaiTeja

You can use hh.exe
C:\windows\hh.exe as source.



DEÁK JAHN, Gábor-2 wrote:
 
 On Thu, 3 Jan 2008 08:57:04 -0800, Chris Weiss wrote:
 
 Chris,
 
 the problem of creating a help icon for my .CHM shortcut. Should I
 be creating a single DLL that only contains the help icon (and if I
 copy the one from WinHlp32.exe, am I violating some sort of
 Microsoft copyright)?
 
 Yes, create a small DLL with only the icon. I don't know about the
 copyright issues but there are lots of free icons to be downloaded from
 the net, they usually come with the standard icon set redesigned and they
 will have a question mark icon for sure. Their copyright status might be
 easier to check.
 
 Bye,
Gábor
 
 ---
 DEÁK JAHN, Gábor -- Budapest, Hungary
 E-mail: [EMAIL PROTECTED]
 
 
 -
 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-create-help-file-shortcut-icon--tp14589145p14682390.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] System Services

2008-01-07 Thread SaiTeja

Hi,

I tried with Wait=yes.

But still am getting same error. :(

Action 11:56:57: UnpublishFeatures. Unpublishing Product Features
UnpublishFeatures: Feature: TPFeature
Action 11:56:57: StopServices. Stopping services
StopServices: Service: Test Prg Service
Error 1921. Service 'Test Prg Service' (GuardSvc) could not be stopped.
Verify that you have sufficient privileges to stop system services.
MSI (s) (00:A8) [11:57:30:156]: Product: Test Prg -- Error 1921. Service
'Test Prg Service' (GuardSvc) could not be stopped. Verify that you have
sufficient privileges to stop system services.

Action ended 11:57:31: InstallFinalize. Return value 3.
Action 11:57:31: Rollback. Rolling back action:
Rollback: Stopping services
Rollback: Unpublishing Product Features




Wilson, Phil wrote:
 
 Try Wait=yes.
 
 When wait=no you can get a timing race between the service actually
 winding down (and the process terminating) and the attempt to delete it.
 The message might be a consequence of the process still running.
 
 Phil Wilson
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Monday, January 07, 2008 5:00 AM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] System Services
 
 
 Hi,
 
 In my project am using guarsvc.exe. Following is the code for the same
 
 Component Id=guardsvc.exe Guid={8D6F5BA9-DA8C-403F-8092-FD5A05616B2B}
 DiskId=1
   File Id=guardsvc.exe Name=grds.exe LongName=guardsvc.exe
 KeyPath=yes Source=guardsvc.exe /
 ServiceControl Id=GuardvcEvent Name=GuardSvc Stop=uninstall
 Remove=uninstall Wait=no/
 ServiceInstall Id=NewServiceInstall2
 Name=GuardSvc
 DisplayName=Test Service
 Type=ownProcess
 Start=auto
 ErrorControl=normal
 Description=Enables the Test Prg Client. If this
 service is stopped, test prg-protected content will be unavailable.
 Interactive=no 
   ServiceDependency Id=RpcSs /
   ServiceDependency Id=Dnscache /
   ServiceDependency Id=CryptSvc /
   ServiceDependency Id=TermService /
 /ServiceInstall
 /Component
 
 While Uninstalling am getting the following error.
 
 Service 'Test Service'(guardsvc) couldnot be deleted. Verify that you have
 sufficient privileges to remove system services.
 
 Can anyone tell me what is the wrong here?
 
 
 --
 View this message in context:
 http://www.nabble.com/System-Services-tp14665168p14665168.html
 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
 
 
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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/System-Services-tp14665168p14683454.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] 32 64 bi

2008-01-06 Thread SaiTeja
 if the technique is one
 that
  WiX would support one day or not.
 
 
 http://msmvps.com/blogs/installsite/archive/2007/12/20/advanced-installer-6-1-brings-unified-32-64-bit-installers-and-windows-firewall-support.aspx
 
 
 
  *Bob Arnson [EMAIL PROTECTED]* wrote:
 
  SaiTeja wrote:
   1) Is it possible to create one MSI for both 32bit and 64 bit OS
  
 
  If you need to install 64-bit components, you must have a 64-bit
  package. If you have only 32-bit components, then a 32-bit package will
  install fine on an x64 OS.
 
  --
  sig://boB
  http://joyofsetup.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
 
 
  --
  Looking for last minute shopping deals? Find them fast with Yahoo!
 
 Search.http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping
 
 
 
 -
  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/32---64-bit-tp14611317p14659561.html
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] Service ControlService Install

2008-01-05 Thread SaiTeja

Hi,

1) What is the difference b/w ServiceControl  ServiceInstall ?

2) following is the code Please review
Component is GuardSvc.exe and the following are conditions

Install Condition: Not VersionNT=500 --- Only Installs on Windows XP or
later
Control NT Services   Installs as a NT Service. Set to auto start,but
not started during instll(will bestarted on reboot)
Install NT Services   Stops and Removes the NTService on uninstall

Component Id=GuardSvc.exe Guid={?} DiskId=1
  File Id=GuardSvc.exe Name=GuardSvc.exe KeyPath=yes
Source=GuardSvc.exe /
  ServiceInstall Id=SVc1 
DisplayName=Guard Service 
Description=This will install only on Windows XP or 
later 
ErrorControl=normal 
Interactive=no 
Name=GuardSvc.exe 
Start=demand 
Type=ownProcess 
Vital='yes'
ConditionVersionNT = 501/Condition
/ServiceInstall 

ServiceControl Id=svc2 
Name=GuardSvc.exe 
start = auto 
Remove=uninstall 
Stop=install 
Wait=yes / 

ServiceInstall Id=svc3 
DisplayName=Guard Service
Name=GuardSvc.exe
ErrorControl=normal
Interactive=no  
Stop=uninstall 
Remove=uninstall
Type=ownProcess
Vital='yes' /  
/Component 


-- 
View this message in context: 
http://www.nabble.com/Service-Control-Service-Install-tp14630666p14630666.html
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] Check machine type

2008-01-04 Thread SaiTeja

Hi,

How can I check the machine is 32 bit or 64 bit


-- 
View this message in context: 
http://www.nabble.com/Check-machine-type-tp14612557p14612557.html
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] Check machine type

2008-01-04 Thread SaiTeja

Hi Stefan,

Thanks a lot.

My main aim is I want to set program files folder
Is the following way is correct

?if $(VersionNT64) ?
?define P_GUID = 4B1FB95B-4E4F-4ee3-B94C-7A3BF41BCBA2 ?
?define PrgFiles = ProgramFiles64Folder ?
?define MSI_version = 300 ?
?define MSI_platform = x64 ?
?else?
?define P_GUID = FFE8FDEB-9EFE-41f5-AEEB-E739648921CD ?
?define PrgFiles = ProgramFilesFolder ?
?define MSI_version = 200 ?
?define MSI_platform = Intel ?
?endif?




Stefan Pavlik-2 wrote:
 
 SaiTeja wrote:
 Hi,
 
 How can I check the machine is 32 bit or 64 bit
 
 
 Check the VersionNT64 public property.
 
 http://msdn2.microsoft.com/en-us/library/aa372497(VS.85).aspx
 
 Stefan
 
 -
 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/Check-machine-type-tp14612557p14612732.html
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] Check machine type

2008-01-04 Thread SaiTeja

Hi Stefan

after I searched I got

 ?if $(env.BUILDTARGET) = i386?
?define IsWin64  = no?
?define WinSystemFolder = SystemFolder?
?else ?
?define IsWin64  = yes?
?define WinSystemFolder = System64Folder?
?endif ?

Directory Id=TARGETDIR
Directory Id=$(var.WinSystemFolder)
Component Win64=$(var.IsWin64)
   File Id=”fileConfig” Name=file.config /
   /Component

  /Directory
/DirectoryRef

But I didnt udnerstand how to set the variable env.BUILDTARGET


Any inputs


Stefan Pavlik-2 wrote:
 
 SaiTeja wrote:
 My main aim is I want to set program files folder
 Is the following way is correct
 
 ?if $(VersionNT64) ?
  ?define P_GUID = 4B1FB95B-4E4F-4ee3-B94C-7A3BF41BCBA2 ?
  ?define PrgFiles = ProgramFiles64Folder ?
  ?define MSI_version = 300 ?
  ?define MSI_platform = x64 ?
 ?else?
  ?define P_GUID = FFE8FDEB-9EFE-41f5-AEEB-E739648921CD ?
  ?define PrgFiles = ProgramFilesFolder ?
  ?define MSI_version = 200 ?
  ?define MSI_platform = Intel ?
 ?endif?
 
 It is not correct.
 
 The VersionNT64 is public property. All public properties are
 evaluated in RunTime.
 You want to use some Macro (macro is evaluated in Compile time).
 
 By using the code above you need to specify (somewhere) the macro
 'VersionNT64' and create two MSI packages (one for each VersionNT64
 value).
 
 
 For creating the 64 / 32 bit packages you should check this forum a
 bit deeper. There are several threads that are worth to read.
 
 regards
 
 Stefan
 
 -- 
 Stefan Pavlik
 
 -
 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/Check-machine-type-tp14612557p14613270.html
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] 32 64 bit

2008-01-03 Thread SaiTeja

Hi,

1) Is it possible to create one MSI for both 32bit and 64 bit OS

2) If yes

my queries are

1) In my case, except 2 binaries, remaining all binaries are same.
The binaries which are different are service32.exe for 32bit and
service64.exe for 64 bit
So I added win64=yes for service64.exe. 

2)Following is my Directory structure

Directory Id=ProgramFilesFolder Name=PFiles LongName=program files
Directory Id=Test Program Name=Test_1 LongName =Test program
Directory Id=INSTALLDIR Name=Clint LongName=Client
Directory Id=Manifests Name=MANIFE_1 LongName=manifests/
/Directory
/Directory
/Directory

I saw there is ProgramFiles64Folder  for 64bit OS. So how can I modify the
above code



3)Registry

following is my component(same for both 3264)
here am creating registry key and setting its value.

Component Id=xyz.exe Guid={???} DiskId=1
File Id=xyz.exe Name=xyz.exe KeyPath=yes Source=xyzexe /
Registry Root=HKLM Key=SOFTWARE\TestProgram\Client Name=InstallRoot
Action=write Type=expandable Value=[INSTALLDIR] /
Registry Root=HKLM Key=SOFTWARE\test program\Client\Diagnostic
Logging\Default Name=Severity Type=string Value=ERROR /
/Component

Here am using Root=HKLM Key=SOFTWARE\TestProgram\Client is ok for 32
bit. 
Will the same code create the key for 64bit. I think for 64bit registry
entries will create 
under WOW64 hive. How can I modify here?


-- 
View this message in context: 
http://www.nabble.com/32---64-bit-tp14611317p14611317.html
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] Help Icon is not displaing properly at start-programs...

2007-12-25 Thread SaiTeja

Hi,

Help Icon(Icon with question mark) at Start-Programs-TestPrg-client
is not displaying properly. below is the code for same.


 Component Id=MyComponent1
Guid={FC5111F8-B0B1-4C4C-94C0-EE87670EC7A5} DiskId=1   
  File Id='Client' Name='Clie.chm' LongName=Client.chm
Source=Client.chm 
Shortcut Id=startmenuHelp Directory=ProgramMenuFolder
Name=help LongName=Client Help WorkingDirectory='INSTALLDIR'
Icon=help.chm IconIndex=0 /  
  /File
  /Component

Icon Id=help.chm SourceFile=Client.chm/


Can any one tell what is wrong here
-- 
View this message in context: 
http://www.nabble.com/Help-Icon-is-not-displaing-properly-at-start-%3Eprograms...-tp14494577p14494577.html
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] Error 1723. A DLL required for this install to complete could not be run.

2007-12-20 Thread SaiTeja

Hi,

thanks for resp.

In my code, I have lot of custom actions(dll and exe), in those there is no
custom action named

CustomAction_SxsMsmInstall. 

But When I open my MSI with orca, I saw CustomAction_SxsMsmInstall and
CustomAction_SxsMsmCleanup 

under Custom action.

Could you please tell me indetail



Calin Iaru wrote:
 
 Your custom action needs to return 0. Check the code and if the function 
 CustomAction_SxsMsmInstall returns something else, then you have an error.
 
 SaiTeja wrote:
 Hi,

 when I run my msi in Virtual Machine am getting following error.

 Can any one tell me how to solve this

 Action start 11:54:59: InstallValidate.
 Action ended 11:54:59: InstallValidate. Return value 1.
 Action start 11:54:59: RemoveExistingProducts.
 Action ended 11:54:59: RemoveExistingProducts. Return value 0.
 Action start 11:54:59: InstallInitialize.
 Action ended 11:54:59: InstallInitialize. Return value 1.
 Action start 11:54:59: SxsInstallCA.
 Error 1723. There is a problem with this Windows Installer package. A DLL
 required for this install to complete could not be run. Contact your
 support
 personnel or package vendor. Action SxsInstallCA, entry:
 CustomAction_SxsMsmInstall, library: C:\WINNT\Installer\MSIC.tmp 
 MSI (s) (1C:34): Product: Test Program Client -- Error 1723. There is a
 problem with this Windows Installer package. A DLL required for this
 install
 to complete could not be run. Contact your support personnel or package
 vendor. Action
  SxsInstallCA, entry: CustomAction_SxsMsmInstall, library:
 C:\WINNT\Installer\MSIC.tmp 

 Action ended 11:54:59: SxsInstallCA. Return value 3.
 Action ended 11:54:59: INSTALL. Return value 3.
 === Logging stopped: 12/20/2007  11:54:59 ===
   
 
 
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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/Error-1723.-A-DLL-required-for-this-install-to-complete-could-not-be-run.-tp14431565p14432827.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Re Post: Msi Logging

2007-12-19 Thread SaiTeja

Hi,

I dont have idea about bootstrapper.

Could you tell me in detail or send me the url

thanks in advance


Chesong Lee-2 wrote:
 
 MSI logging cannot be enabled or changed within the MSI.
 The MsiLogFileLocation property is to view the current log file name
 if any, not to change the value. So if you really want to enable the
 MSI log, you may have to provide the bootstrapper.
 
 Chesong Lee
 
 On Dec 18, 2007 3:03 AM, SaiTeja [EMAIL PROTECTED] wrote:

 Hi,

 thanks for resp.

 yaa log file will create through command line

 But I want to create log file after installation done automatically to
 the
 path(example d:\sai\log.txt) which i specified through code





 Adam Majer-2 wrote:
 
  SaiTeja wrote:
  Hi,
 
  Thanks for Info.
 
  Can you suggest for Msi Logging for XP or 2000
 
  - Property Id=MsiLogFileLocation Value=C:\Install.txt/
  -  Property Id=MsiLogFileLocationC:\Install.txt/Property
 
  I'm not using this, but my suggestion would be to,
 
   1. DO NOT use C:\ for cruft like log files. Put them in User's
  Directory like User's Application Data similar. Or temporary folder.
 
   2. For logging on XP or 2000 you need to use a command line switch
 /log
  with msiexec to get logging.
 
msiexec /log install_logfile.txt install.msi
 
  You can do that with a batch file or from command line.
 
 
  - Adam
 
 
 
 -
  SF.Net email is sponsored by:
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services
  for just about anything Open Source.
 
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
  ___
  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/Msi-Logging-tp14212264p14393106.html
 Sent from the wix-users mailing list archive at Nabble.com.


 -

 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

 
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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/Msi-Logging-tp14212264p14415341.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error 1723. A DLL required for this install to complete could not be run.

2007-12-19 Thread SaiTeja

Hi,

when I run my msi in Virtual Machine am getting following error.

Can any one tell me how to solve this

Action start 11:54:59: InstallValidate.
Action ended 11:54:59: InstallValidate. Return value 1.
Action start 11:54:59: RemoveExistingProducts.
Action ended 11:54:59: RemoveExistingProducts. Return value 0.
Action start 11:54:59: InstallInitialize.
Action ended 11:54:59: InstallInitialize. Return value 1.
Action start 11:54:59: SxsInstallCA.
Error 1723. There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor. Action SxsInstallCA, entry:
CustomAction_SxsMsmInstall, library: C:\WINNT\Installer\MSIC.tmp 
MSI (s) (1C:34): Product: Test Program Client -- Error 1723. There is a
problem with this Windows Installer package. A DLL required for this install
to complete could not be run. Contact your support personnel or package
vendor. Action
 SxsInstallCA, entry: CustomAction_SxsMsmInstall, library:
C:\WINNT\Installer\MSIC.tmp 

Action ended 11:54:59: SxsInstallCA. Return value 3.
Action ended 11:54:59: INSTALL. Return value 3.
=== Logging stopped: 12/20/2007  11:54:59 ===
-- 
View this message in context: 
http://www.nabble.com/Error-1723.-A-DLL-required-for-this-install-to-complete-could-not-be-run.-tp14431565p14431565.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Admin Check in VISTA OS

2007-12-18 Thread SaiTeja

Hi,

Following is Administrator check for WINDOWS Os

Condition Message=You must be an Administrator to install the Client.
Privileged
/Condition

How to check the same in VISTA OS (32 and 64bits OS's)
-- 
View this message in context: 
http://www.nabble.com/Admin-Check-in-VISTA-OS-tp14384539p14384539.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing correctly through Command Prompt, through UI not

2007-12-18 Thread SaiTeja

Hi,

Following is my Directory structure
Setup.wxs
--
  Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder Name=PFiles
Directory Id=TEST_PRG Name=TP LongName
= TEST PROGRAM
Directory Id=INSTALLDIR
Name=Client LongName=Client
Directory Id=MANIF
Name=manif LongName=manif
/Directory
/Directory
/Directory
/Directory
/Directory
File.wxs


DirectoryRef Id=INSTALLDIR
  Component Id=MyComponent1
Guid={7160BA75-01B7-43FD-839A-B8622E372267}
File Id=txt1 Name=txt LongName=txt1 DiskId=1
Source=read.txt /
  /Component
  Component Id=MyComponent2
Guid=594587E2-5F36-47E9-8B18-86D95F5C86EE DiskId=1
File Id=LicenseFile Name=license.rtf
Source=license.rtf/
  /Component
/DirectoryRef
   
DirectoryRef Id=MANIF  
   Component Id=license2 Guid={76F9EA35-D98F-4A2E-B1D1-1BE634F1BF0F}
File Id=license2 Name=license2 LongName=license DiskId=1 
Source=license2.rtf Vital=yes /
  /Component
/DirectoryRef


Install Path refers to INSTALLDIR ie C:\Program Files\TEST PROGRAM\Client\

Through Command Prompt: msiexec /i .msi INSTALLDIR=f:\sai\
Installing properly.


But when I change the path to f:\sai\ thorough UI

It is created Folder named sai under f drive, the files which are under
INSTALDIR (DirectoryRef Id=INSTALLDIR ie  read.txt and license.rtf) are
installed.

It also created TEST PROGRAM Folder and Client folder and Manif folder under
C drive, also the file which are under MANIF(DirectoryRef Id=MANIF ie
license2.rtf file is installed.

While UnInstalling, some times it is uninstalled in both places. Some times
Only those files under sai folder in f drive.


Cab any one tell what is the problem 
-- 
View this message in context: 
http://www.nabble.com/Installing-correctly-through-Command-Prompt%2Cthrough-UI-not-tp14386596p14386596.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Re Post: Msi Logging

2007-12-18 Thread SaiTeja

Hi,

thanks for resp.

yaa log file will create through command line

But I want to create log file after installation done automatically to the
path(example d:\sai\log.txt) which i specified through code




Adam Majer-2 wrote:
 
 SaiTeja wrote:
 Hi,
 
 Thanks for Info.
 
 Can you suggest for Msi Logging for XP or 2000
 
 - Property Id=MsiLogFileLocation Value=C:\Install.txt/
 -  Property Id=MsiLogFileLocationC:\Install.txt/Property
 
 I'm not using this, but my suggestion would be to,
 
  1. DO NOT use C:\ for cruft like log files. Put them in User's
 Directory like User's Application Data similar. Or temporary folder.
 
  2. For logging on XP or 2000 you need to use a command line switch /log
 with msiexec to get logging.
 
   msiexec /log install_logfile.txt install.msi
 
 You can do that with a batch file or from command line.
 
 
 - Adam
 
 
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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/Msi-Logging-tp14212264p14393106.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to change msi working for 32 bit os to work for 64 bit os

2007-12-18 Thread SaiTeja

Hi,

am also doing same thing.

You mention Product/@Id=new guid
Product/@UpgradeCode=new guid

but I want use same GUID for product and upgrade in both 32and64bit OS. 

also am using exe custom actions to create/remove registry keys and its
values, C DLLs and corresponding  Custom actions. 

Need suggestions in this case?


Thanks in advance


John Vottero wrote:
 
 i m having msi of my product which is working on all 32 bit windows
 versions
 now iwant to create msi which will wirk for bith 32 and 64bit os  or
 will
 work for 64 bit os. i have no idea what r the changes i m suppose to
 make in
 my msi.
 
 You need to make a copy of your 32bit WiX source (you can't have a
 single installer for both 32 bit and 64 bit).  In the 64 bit copy, you
 need to change:
 
 Product/@Id=new guid
 Product/@UpgradeCode=new guid
 Package/@Id=new guid
 Package/@Platforms=x64
 
 For each component:
 
 Component/@Guid=new guid
 Component/@Win64=yes
 
 You may need to add Win64=yes when referencing the registry too.
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 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-change-msi-working-for-32-bit-os-to-work-for-64-bit-os-tp11808606p14394205.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] 32 and 64bit OS including VISTA

2007-12-18 Thread SaiTeja

Hi,

Presently I developed Installer in Windows 2000 server.

My project contains folllowing things

- Files which are deploy in target machine
- Dialogs
- Custom action
some custom actions creates registry keys and its values
some are dll custom actions
- Merge Modules
- Dlls
- Roll back custom actions
- Upgrades

Now I want my installer should work on both 32 bit and 64bit OS including
VISTA.

Can any one tell me things that needs to take care and way to do this.



-- 
View this message in context: 
http://www.nabble.com/32-and-64bit-OS-including-VISTA-tp14396500p14396500.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Re Post: Msi Logging

2007-12-17 Thread SaiTeja

Hi,

thanks for response

I tried but not working

- Property Id=MsiLogFileLocation Value=C:\Install.txt/

-  Property Id=MsiLogFileLocationC:\Install.txt/Property


Can u suggest more.



Karthik Krishnan-5 wrote:
 
 Did you try setting the MsiLogFileLocation property (
 http://msdn2.microsoft.com/en-us/library/aa370321.aspx) to the path you'd
 like?
 
 On Dec 9, 2007 11:45 PM, SaiTeja [EMAIL PROTECTED] wrote:
 

 Hi,

 Thanks a lot for response.

 Ofcourse,We can get logs through command line.

 But my requirement is different.

 Is it possible to create same log file through coding in wix?

 Like in case of temp folder it is created automatically because of
 proerty
 Property Id=MsiLoggingvoicewarmupx/Property






 Pankaj Bhatia wrote:
 
  you can run msiexec through command line
 
  msiexec /i msi name /L*v log.txt file path
 
 
 
  On Dec 7, 2007 2:11 PM, SaiTeja [EMAIL PROTECTED] wrote:
 
 
  Hi,
 
  When I run msi, By default msi logging is created in %temp% folder.
 
  I want to create msi logging in TARGETDIR (Other than Temp folder) ie
  c:\sailogs.txt
 
  can any one tell me how to do this
 
 
  --
  View this message in context:
  http://www.nabble.com/Msi-Logging-tf4962012.html#a14212264
  Sent from the wix-users mailing list archive at Nabble.com.
 
 
 
 -
  SF.Net email is sponsored by:
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 
  --
  -Pankaj Bhatia
  European Microsoft Innovation Center (EMIC)
  Ritterstr. 23. Aachen 52072.
  Germany
  Off: (+49) 241 99784 501
  Cell: (+49) 160 5892 705
 
 
 -
  SF.Net email is sponsored by:
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  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/Msi-Logging-tp14212264p14247239.html
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

 
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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/Msi-Logging-tp14212264p14370280.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Re Post: Msi Logging

2007-12-17 Thread SaiTeja

Hi,

Thanks for Info.

Can you suggest for Msi Logging for XP or 2000

Thanks


Stefan Pavlik-2 wrote:
 
 SaiTeja wrote:
 Hi,
 
 thanks for response
 I tried but not working
 
 - Property Id=MsiLogFileLocation Value=C:\Install.txt/
 -  Property Id=MsiLogFileLocationC:\Install.txt/Property
 
 Can u suggest more.
 
 Hi
 
 The MsiLogFileLocation Property is available since Windows Installer
 4.0 (Windows Vista or newer). So it will not work for XP or 2000.
 
 -- 
 Stefan
 
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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/Msi-Logging-tp14212264p14383365.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing correctly through Command Prompt, through UI not

2007-12-17 Thread SaiTeja

Hi,

Following is my Directory structure
Setup.wxs
--
  Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder Name=PFiles
Directory Id=TEST_PRG Name=TP LongName
= TEST PROGRAM
Directory Id=INSTALLDIR
Name=Client LongName=Client
Directory Id=MANIF
Name=manif LongName=manif
/Directory
/Directory
/Directory
/Directory
/Directory
File.wxs


DirectoryRef Id=INSTALLDIR
  Component Id=MyComponent1
Guid={7160BA75-01B7-43FD-839A-B8622E372267}
File Id=txt1 Name=txt LongName=txt1 DiskId=1
Source=read.txt /
  /Component
  Component Id=MyComponent2
Guid=594587E2-5F36-47E9-8B18-86D95F5C86EE DiskId=1
File Id=LicenseFile Name=license.rtf
Source=license.rtf/
  /Component
/DirectoryRef
   
DirectoryRef Id=MANIF  
   Component Id=license2 Guid={76F9EA35-D98F-4A2E-B1D1-1BE634F1BF0F}
File Id=license2 Name=license2 LongName=license DiskId=1 
Source=license2.rtf Vital=yes /
  /Component
/DirectoryRef

Install Path refers to INSTALLDIR ie C:\Program Files\TEST PROGRAM\Client\

Through Command Prompt: msiexec /i .msi INSTALLDIR=f:\sai\
Installing properly.


But when I change the path to f:\sai\ thorough UI

It is created Folder named sai under f drive, the files which are under
INSTALDIR (DirectoryRef Id=INSTALLDIR ie  read.txt and license.rtf) are
installed.

It also created TEST PROGRAM Folder and Client folder and Manif folder under
C drive, also the file which are under MANIF(DirectoryRef Id=MANIF ie
license2.rtf file is installed.

While UnInstalling, some times it is uninstalled in both places. Some times
Only those files under sai folder in f drive.

Cab any one tell what is the problem

-- 
View this message in context: 
http://www.nabble.com/Installing-correctly-through-Command-Prompt%2Cthrough-UI-not-tp14384480p14384480.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Administrator Check in VISTA

2007-12-17 Thread SaiTeja

Hi,

Following is Administrator check for WINDOWS Os 

Condition Message=You must be an Administrator to install the Client.
Privileged 
/Condition

How to check the same in VISTA OS(32 and 64bits OS's)
-- 
View this message in context: 
http://www.nabble.com/Administrator-Check-in-VISTA-tp14384485p14384485.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Re Post: If I Change the Path, Installing in two places

2007-12-13 Thread SaiTeja

Hi,

Following is my Directory structure
Setup.wxs
--
  Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder Name=PFiles
Directory Id=TEST_PRG Name=TP LongName
= TEST PROGRAM
Directory Id=INSTALLDIR
Name=Client LongName=Client
Directory Id=MANIF
Name=manif LongName=manif
/Directory
/Directory
/Directory
/Directory
/Directory
File.wxs


DirectoryRef Id=INSTALLDIR
  Component Id=MyComponent1
Guid={7160BA75-01B7-43FD-839A-B8622E372267}
File Id=txt1 Name=txt LongName=txt1 DiskId=1
Source=read.txt /
  /Component
  Component Id=MyComponent2
Guid=594587E2-5F36-47E9-8B18-86D95F5C86EE DiskId=1
File Id=LicenseFile Name=license.rtf
Source=license.rtf/
  /Component
/DirectoryRef
   
DirectoryRef Id=MANIF  
   Component Id=license2 Guid={76F9EA35-D98F-4A2E-B1D1-1BE634F1BF0F}
File Id=license2 Name=license2 LongName=license DiskId=1 
Source=license2.rtf Vital=yes /
  /Component
/DirectoryRef

Install Path refers to INSTALLDIR ie C:\Program Files\TEST PROGRAM\Client\

While Installing, when I change the path to C:\sai\

It is created Folder named sai under C drive, the files which are under
INSTALDIR (DirectoryRef Id=INSTALLDIR ie  read.txt and license.rtf) are
installed.

It also created TEST PROGRAM Folder and Client folder and Manif folder under
C drive, also the file which are under MANIF(DirectoryRef Id=MANIF ie
license2.rtf file is installed.

While UnInstalling, some times it is uninstalled in both places. Some times
Only those files under sai folder in C drive.

Cab any one tell what is the problem
-- 
View this message in context: 
http://www.nabble.com/RePost%3A-If-I-Change-the-Path%2C-Installing-in-two-places-tp14330737p14330737.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] TARGETDIR

2007-12-12 Thread SaiTeja

HI Stefan

Thanks a lot. Its working



Stefan Pavlik-2 wrote:
 
 
 SaiTeja wrote:
 actually I want to assign C:\ to some property. Presently I hardcoded
 like
 this.
 Property Id=INSTALLPATH Value=C:\/
 
 And am using this property in many places. Suppose if machine doesn't
 have
 C: drive it will give problems.
 So I want to assign default drive to my property ie INSTALLPATH
 
 Can you tell me how Can I do this
 
 You should use the WindowsVolume Property. It is the root of the
 partition where Windows is installed.
 http://msdn2.microsoft.com/en-us/library/aa372817.aspx
 
 regards
 
 Stefan
 
 
 -
 SF.Net email is sponsored by: 
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 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/TARGETDIR-tp14271857p14291507.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] UnInstalling

2007-12-12 Thread SaiTeja

Hi,

My INSTALDIR refers to C:\Program Files\Test Program\Client

Client Folder has, Some files and One folder with one file

While uninstalling, all files in Client are deleted properly. But Folder is
not deleted.

After uninstalling, In my program files Test Program Folder, Inside Client
Folder, Inside Another folder with file are left. 

Following is my Execute sequence

   InstallExecuteSequence
 InstallValidate Sequence=1400 /
 RemoveExistingProducts Sequence=1499 /
  InstallInitialize Sequence=1500 /
 RemoveRegistryValues Sequence=2600 /
  UnregisterClassInfo Sequence=2700 /
  RemoveFiles Sequence=3500 /
  RemoveFolders Sequence=3600 /
  CreateFolders Sequence=3700 /
  MoveFiles Sequence=3800 / 
   /InstallExecuteSequence

can any one tell  what is the problem here

-- 
View this message in context: 
http://www.nabble.com/UnInstalling-tp14294476p14294476.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing and Un Installing

2007-12-12 Thread SaiTeja

Hi,

Following is my Directory structure
Setup.wxs
--
  Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder Name=PFiles
Directory Id=TEST_PRG Name=TP LongName = 
TEST PROGRAM
Directory Id=INSTALLDIR 
Name=Client LongName=Client
Directory Id=MANIF 
Name=manif LongName=manif
/Directory
/Directory
/Directory
/Directory
/Directory
File.wxs


DirectoryRef Id=INSTALLDIR 
  Component Id=MyComponent1
Guid={7160BA75-01B7-43FD-839A-B8622E372267}
File Id=txt1 Name=txt LongName=txt1 DiskId=1
Source=read.txt /
  /Component
  Component Id=MyComponent2
Guid=594587E2-5F36-47E9-8B18-86D95F5C86EE DiskId=1
File Id=LicenseFile Name=license.rtf Source=license.rtf/
  /Component
/DirectoryRef

DirectoryRef Id=MANIF   
  Component Id=license2 
Guid={76F9EA35-D98F-4A2E-B1D1-1BE634F1BF0F}
File Id=license2 Name=license2 LongName=license DiskId=1 
Source=license2.rtf Vital=yes /
  /Component
/DirectoryRef 

Install Path refers to INSTALLDIR ie C:\Program Files\TEST PROGRAM\Client\

While Installing, when I change the path to C:\sai\

It is created Folder named sai under C drive, the files which are under
INSTALDIR (DirectoryRef Id=INSTALLDIR ie  read.txt and license.rtf) are
installed.

It also created TEST PROGRAM Folder and Client folder and Manif folder under
C drive, also the file which are under MANIF(DirectoryRef Id=MANIF ie
license2.rtf file is installed.

While UnInstalling, some times it is uninstalled in both places. Some times
Only those files under sai folder in C drive.

Any pointers






-- 
View this message in context: 
http://www.nabble.com/Installing-and-Un-Installing-tp14310755p14310755.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Msi Logging through coding

2007-12-11 Thread SaiTeja

Hi,

We can get logs through 
   1) command line ie msiexec /i asdfg.msi /log c:/log.txt will
create log.txt
   2) Like in case of %temp% folder it is created automatically
because of proerty
   Property Id=MsiLoggingvoicewarmupx/Property 


I want to create same log file through coding?



-- 
View this message in context: 
http://www.nabble.com/Msi-Logging-through-coding-tp14270472p14270472.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SelChildCostPos

2007-12-11 Thread SaiTeja

Hi,

SelChildCostPos - This feature requires [1] on your hard drive.

here [1] - displays size in MB.

I want the only size ie for ex: 55Mb to be assigned to some data type like
int or to property. Is it Possible?
-- 
View this message in context: 
http://www.nabble.com/SelChildCostPos-tp14271258p14271258.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] TARGETDIR

2007-12-11 Thread SaiTeja

Hi,

Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder Name=PFiles

the above two line gives the path as C:\Program Files\

But when I mention only TARGETDIR ie Directory Id=TARGETDIR
Name=SourceDir
it is not showing C:\. It is showing some times D:\ or E:\

What is the problem here? How can I get drive C:\

-- 
View this message in context: 
http://www.nabble.com/TARGETDIR-tp14271857p14271857.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] TARGETDIR

2007-12-11 Thread SaiTeja

Hi Stefan,

Thanks for response.

actually I want to assign C:\ to some property. Presently I hardcoded like
this.
Property Id=INSTALLPATH Value=C:\/

And am using this property in many places. Suppose if machine doesn't have
C: drive it will give problems.
So I want to assign default drive to my property ie INSTALLPATH

Can you tell me how Can I do this



Stefan Pavlik-2 wrote:
 
 SaiTeja wrote:
 But when I mention only TARGETDIR ie Directory Id=TARGETDIR
 Name=SourceDir
 it is not showing C:\. It is showing some times D:\ or E:\
 
 What is the problem here? How can I get drive C:\
 
 Hi
 
 If the TARGETDIR is not defined explicitly (common case) then it is
 defaulted to ROOTDRIVE. And ROOTDRIVE property is set by installer
 to partition which have most free space.
 
 See following links for details:
 
 http://msdn2.microsoft.com/en-us/library/aa372064.aspx
 http://msdn2.microsoft.com/en-us/library/aa371372.aspx
 
 -- 
 Stefan Pavlik
 
 -
 SF.Net email is sponsored by: 
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 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/TARGETDIR-tp14271857p14272451.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Re Post: Msi Logging

2007-12-09 Thread SaiTeja

Hi,

Thanks a lot for response.

Ofcourse,We can get logs through command line.

But my requirement is different. 

Is it possible to create same log file through coding in wix?

Like in case of temp folder it is created automatically because of proerty
Property Id=MsiLoggingvoicewarmupx/Property






Pankaj Bhatia wrote:
 
 you can run msiexec through command line
 
 msiexec /i msi name /L*v log.txt file path
 
 
 
 On Dec 7, 2007 2:11 PM, SaiTeja [EMAIL PROTECTED] wrote:
 

 Hi,

 When I run msi, By default msi logging is created in %temp% folder.

 I want to create msi logging in TARGETDIR (Other than Temp folder) ie
 c:\sailogs.txt

 can any one tell me how to do this


 --
 View this message in context:
 http://www.nabble.com/Msi-Logging-tf4962012.html#a14212264
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

 
 
 
 -- 
 -Pankaj Bhatia
 European Microsoft Innovation Center (EMIC)
 Ritterstr. 23. Aachen 52072.
 Germany
 Off: (+49) 241 99784 501
 Cell: (+49) 160 5892 705
 
 -
 SF.Net email is sponsored by: 
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 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/Msi-Logging-tp14212264p14247239.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Invalid Chars in UserInformation Dialog

2007-12-09 Thread SaiTeja

Hi,

I want to spawn Error dialog, When user enters any invalid chars(like
!,@,#,$,%,^,,*,(,),{,},/,\ ) in one of edit field ie User Name or
Organization and press Next button In UserInformation Dialog.

Can any one tell how to solve this

-- 
View this message in context: 
http://www.nabble.com/Invalid-Chars-in-UserInformation-Dialog-tp14248505p14248505.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Not installed in new path

2007-12-09 Thread SaiTeja

Hi,

My INSTALLDIR refers to C:\Program Files\Test Program\Client

When I change the path in Browse Dialog for example D:\Client, Path is
updated in Custom Setup Dialog. But when I press Install, it is not
installed in new path ie D:\Client.

Can any one tell me whats the problem is
-- 
View this message in context: 
http://www.nabble.com/Not-installed-in-new-path-tp14248652p14248652.html
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Msi Logging

2007-12-07 Thread SaiTeja

Hi,

When I run msi, By default msi logging is created in %temp% folder.

I want to create msi logging in TARGETDIR (Other than Temp folder) ie
c:\sailogs.txt

can any one tell me how to do this


-- 
View this message in context: 
http://www.nabble.com/Msi-Logging-tf4962012.html#a14212264
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Re posting Condition for Silent Install

2007-12-06 Thread SaiTeja

Hi Stefan,

Thanks a lot...

Its working now. Thanq so much



Stefan Pavlik-2 wrote:
 
 Hi Again...
 
 You cannot use the INSTALLUILEVEL_NONE string in the WiX. It is
 defined only in some C++ header file and you can use it in the C++
 project.
 You need to use the UILevel property. It means:
 
 InstallExecuteSequence
   Custom Action=test Sequence='1200'UILevel=2/Custom
 /InstallExecuteSequence
 
 UILevel is name of property and 2 is value which means
 INSTALLUILEVEL_NONE.
 
 Regards
 
 Stefan
 SaiTeja wrote:
 Hi
 
  I want to execute some custom actions only in Silent Mode
 
 For ex: Custaction1,Custaction2,Custaction3,Custaction4, etc
 When I run in Silent Mode Custaction1 and Custaction2,
 Custaction3,Custaction4 Should execute
 When I run in UI mode, only Custaction3, Custaction4 should execute
 
 I tried in two ways.
 
  Property Id=SilentInstallINSTALLUILEVEL_NONE/Property
   
   For custom action:
 
   InstallExecuteSequence
  Custom Action=test Sequence='1200'SilentInstall/Custom
 Action
   /InstallExecuteSequence
 
 and another way is (No Ppty)
 
 InstallExecuteSequence
  Custom Action=test
 Sequence='1200'INSTALLUILEVEL_NONE/Custom
 Action
  /InstallExecuteSequence
 
 But its not working fine.
 
 It would be great if any one gave solution
 
 
 
 SaiTeja wrote:
 Hi Stefan,

 Thanks for you resp. Following is my sample code. Plz let me know the
 way
 is correct or not

  Property Id=SilentInstallINSTALLUILEVEL_NONE/Property
   
 For custom action:

   InstallExecuteSequence
  Custom Action=test Sequence='1200'SilentInstall/Custom
 Action
   /InstallExecuteSequence

   Binary Id='Customization.vbs' src='Customization.vbs'/
   CustomAction Id='test' BinaryKey='Customization.vbs'
 VBScriptCall='Hello' Return='check'/
   


 Thanks
 Hi,





 Stefan Pavlik-2 wrote:
 Hi,...

 You should create the condition for the CustomAction based on the
 UILevel property:
 http://msdn2.microsoft.com/en-us/library/aa372096.aspx


 UILevel:

 NSTALLUILEVEL_NONE 2 Completely silent installation.
 INSTALLUILEVEL_BASIC   3 Simple progress and error handling.
 INSTALLUILEVEL_REDUCED 4 Authored UI, wizard dialogs suppressed.
 INSTALLUILEVEL_FULL5 Authored UI with wizards, progress, errors.

 Regards

 Stefan

 SaiTeja wrote:
 Hi,

 I want to execute particular custom action [OR] I want to execute some
 lines
 of my wix code only in silent mode.

 Any answers?



 -- 
 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

 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 
 
 -- 
 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
 
 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 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/Condition-for-Silent-Install-tf4935094.html#a14189841
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to Change TARGETDIR

2007-12-05 Thread SaiTeja

Hi

Initially my TARGETDIR fefers to C:\. Following is wix code

Directory Id='TARGETDIR' Name='SourceDir'
   Directory Id='ProgramFilesFolder' Name='PFiles'

After that I called Custom action Dll and in dll I setted property PATH to
some other drive(Not C drive)
Below is code for same

Binary Id=BinDiskSp SourceFile=SampleDLL.dll/
CustomAction Id=DiskSp BinaryKey=BinDiskSp
DllEntry=SampleFunction/

InstallExecuteSequence
 Custom Action=DiskSp After=InstallInitialize/Custom
/InstallExecuteSequence

Now with new ppty ie PATH, I want to set TARGETDIR as the whatever value
that my property PATH has
Below is the code


CustomAction Id=NewDir Property=TARGETDIR Value=[PATH]
Execute=firstSequence /

/InstallExecuteSequence
Custom Action=NewDir Before=LaunchConditions/ 
/InstallExecuteSequence

But when i execute msi, it is installing in C drive only.

There is no wrong in dll. It is showing properly with new drive name.

Can any one help me how to solve this



-- 
View this message in context: 
http://www.nabble.com/How-to-Change-TARGETDIR-tf4948297.html#a14167724
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Re posting Condition for Silent Install

2007-12-05 Thread SaiTeja

Hi

 I want to execute some custom actions only in Silent Mode

For ex: Custaction1,Custaction2,Custaction3,Custaction4, etc
When I run in Silent Mode Custaction1 and Custaction2,
Custaction3,Custaction4 Should execute
When I run in UI mode, only Custaction3, Custaction4 should execute

I tried in two ways.

 Property Id=SilentInstallINSTALLUILEVEL_NONE/Property
  
  For custom action:

  InstallExecuteSequence
 Custom Action=test Sequence='1200'SilentInstall/Custom Action
  /InstallExecuteSequence

and another way is (No Ppty)

InstallExecuteSequence
 Custom Action=test Sequence='1200'INSTALLUILEVEL_NONE/Custom
Action
 /InstallExecuteSequence

But its not working fine.

It would be great if any one gave solution



SaiTeja wrote:
 
 Hi Stefan,
 
 Thanks for you resp. Following is my sample code. Plz let me know the way
 is correct or not
 
  Property Id=SilentInstallINSTALLUILEVEL_NONE/Property
   
 For custom action:
 
   InstallExecuteSequence
  Custom Action=test Sequence='1200'SilentInstall/Custom
 Action
   /InstallExecuteSequence
 
   Binary Id='Customization.vbs' src='Customization.vbs'/
   CustomAction Id='test' BinaryKey='Customization.vbs'
 VBScriptCall='Hello' Return='check'/
   
 
 
 Thanks
 Hi,
 
 
 
 
 
 Stefan Pavlik-2 wrote:
 
 Hi,...
 
 You should create the condition for the CustomAction based on the
 UILevel property: http://msdn2.microsoft.com/en-us/library/aa372096.aspx
 
 
 UILevel:
 
 NSTALLUILEVEL_NONE   2 Completely silent installation.
 INSTALLUILEVEL_BASIC 3 Simple progress and error handling.
 INSTALLUILEVEL_REDUCED   4 Authored UI, wizard dialogs suppressed.
 INSTALLUILEVEL_FULL  5 Authored UI with wizards, progress, errors.
 
 Regards
 
 Stefan
 
 SaiTeja wrote:
 Hi,
 
 I want to execute particular custom action [OR] I want to execute some
 lines
 of my wix code only in silent mode.
 
 Any answers?
 
 
 
 
 -- 
 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
 
 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 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/Condition-for-Silent-Install-tf4935094.html#a14187115
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] MsiSetProperty - Value is not displaying

2007-12-04 Thread SaiTeja

Hi,

INSTALLPATH refers - Property Id=INSTALLPATHC:\/Property

   char PATH[256];
   DWORD PATHSize = sizeof(PATH);

   MsiGetProperty(hInstaller, INSTALLPATH, PATH[0], PATHSize); 

Now am 

the same am trying to assign new ppty ie INSTALLNEWPATH
  
   MsiSetProperty(hInstaller,INSTALLNEWPATH,PATH);


When am trying to print the ppty INSTALLNEWPATH , nothing is printing.

Can any one tell me what is the wrong here.


-- 
View this message in context: 
http://www.nabble.com/MsiSetProperty---Value-is-not-displaying-tf4943019.html#a14150359
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Condition for Silent Install

2007-12-03 Thread SaiTeja

Hi,

I want to execute particular custom action [OR] I want to execute some lines
of my wix code only in silent mode.

Any answers?



-- 
View this message in context: 
http://www.nabble.com/Condition-for-Silent-Install-tf4935094.html#a14125855
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] dark.exe : error DARK0001 :

2007-11-27 Thread SaiTeja

Hi,

When I apply dark.exe for an existing MSI, am getting following error.

Can any one tell me how to resolve this


C:\Documents and Settings\sai_teja\Desktop\wix-3.0.2925.0-binarieszipdark.e
xe Control Client.msi Control Client.wxs
Microsoft (R) Windows Installer Xml Decompiler Version 3.0.2925.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.


Control Client.msi
dark.exe : error DARK0001 : Cannot set column 'KeyColumn' with value 0
because i
t is less than the minimum allowed value for this column, 1.

Exception Type: System.InvalidOperationException

Stack Trace:
   at
Microsoft.Tools.WindowsInstallerXml.ColumnDefinition.ValidateValue(Object
value)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databas
eFile, Database database, OutputType outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databas
eFile, OutputType outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.Unbind(String file,
OutputTyp
e outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)

C:\Documents and Settings\sai_teja\Desktop\wix-3.0.2925.0-binarieszip 
-- 
View this message in context: 
http://www.nabble.com/dark.exe-%3A-error-DARK0001-%3A-tf4880903.html#a13968327
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-24 Thread SaiTeja

Hi Daryn,

Thanks for your responses.

When I apply dark for an existing MSI, am getting following error.

Can you please let me know what is the problem


C:\Documents and Settings\sai_teja\Desktop\wix-3.0.2925.0-binarieszipdark.e
xe Control Client.msi Control Client.wxs
Microsoft (R) Windows Installer Xml Decompiler Version 3.0.2925.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.


Control Client.msi
dark.exe : error DARK0001 : Cannot set column 'KeyColumn' with value 0
because i
t is less than the minimum allowed value for this column, 1.

Exception Type: System.InvalidOperationException

Stack Trace:
   at
Microsoft.Tools.WindowsInstallerXml.ColumnDefinition.ValidateValue(Object
value)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databas
eFile, Database database, OutputType outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databas
eFile, OutputType outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.Unbind(String file,
OutputTyp
e outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)

C:\Documents and Settings\sai_teja\Desktop\wix-3.0.2925.0-binarieszip


Thanks





Daryn Mitchell wrote:
 
 
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a13932831
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] 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


[WiX-users] Error 1721 - How to resolve

2007-11-22 Thread SaiTeja

Hi,

Below is my custom action

CustomAction Id=LQ_UninstallComService Return=check HideTarget=no
Execute=deferred Impersonate=yes TerminalServerAware=no
ExeCommand=UninstallComService FileKey=qmireg.exe
/CustomAction

 InstallExecuteSequence
  Custom Action=LQ_UninstallComService Sequence=1700Installed And
REMOVE=ALL/Custom
   /InstallExecuteSequence



When am trying to uninstall am getting following error. Can any one tell me
what is the probelm???

Error 1721. There is a problem with this Windows Installer package. A
program required for this install to complete could not be run. Contact your
support personnel or package vendor. Action: LQ_UninstallComService,
location: C:\Program Files\LQ\manifests\qmireg.exe, command:
UninstallComService


Thanks
-- 
View this message in context: 
http://www.nabble.com/Error-1721---How-to-resolve-tf4859815.html#a13907072
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] Merge Modules

2007-11-20 Thread SaiTeja

Hi,

Please see the below code.

When I add this code the following dll's are created not under system32. Its
created out side the folder system32.

the dll's are msvcr71.dll, msvcp71.dll, mfc71u.dll , mfc7.dll

Can any one tell  me how to modify the below code, so that I can get above
dll's under system32 folder


Directory Id=TARGETDIR Name=SourceDir

Merge Id=VC_User_CRT71.07D8793C_DC93_47EF_8FDA_3517BC941A0F Language=0
SourceFile=C:\Program Files\Common Files\Merge
Modules\VC_User_CRT71_RTL_X86_---.msm DiskId=1 /
Merge Id=VC_User_MFC71.211ADFCA_ED54_4E97_A0C1_80845B72BE77 Language=0
SourceFile=C:\Program Files\Common Files\Merge
Modules\VC_User_MFC71_RTL_X86_---.msm DiskId=1 /  
Merge Id=MFC.9BAE13A2_E7AF_D6C3_FF1F_C8B3B9A1E18E Language=0
SourceFile=C:\Program Files\Common Files\Merge
Modules\Microsoft_VC80_MFC_x86.msm DiskId=1 /  
Merge Id=CRT.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E Language=0
SourceFile=C:\Program Files\Common Files\Merge
Modules\Microsoft_VC80_CRT_x86.msm DiskId=1 /
Merge Id=VC_User_STL71.09528776_2EA8_4A65_AA88_693146381D7D Language=0
SourceFile=C:\Program Files\Common Files\Merge
Modules\VC_User_STL71_RTL_X86_---.msm DiskId=1 /
/Directory

Feature
   MergeRef Id=MFC.9BAE13A2_E7AF_D6C3_FF1F_C8B3B9A1E18E /
  MergeRef Id=VC_User_CRT71.07D8793C_DC93_47EF_8FDA_3517BC941A0F /
  MergeRef Id=VC_User_MFC71.211ADFCA_ED54_4E97_A0C1_80845B72BE77 /
  MergeRef Id=CRT.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E /
  MergeRef Id=VC_User_STL71.09528776_2EA8_4A65_AA88_693146381D7D /
/Feature
-- 
View this message in context: 
http://www.nabble.com/Merge-Modules-tf4841824.html#a13852496
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] Service Control and Service Install

2007-11-19 Thread SaiTeja

Hi,

Can any review the wix code for the following and give example for last one

Install Service: Stops and Removes the Service on Un install
My wix code:

ServiceInstall Id=NXConfigurationControl 
Name=NXConfiguration 
Stop=uninstall 
Remove=uninstall /

Install Service: Only install on xp or later
My wix code:
ServiceInstall Id=SV 
DisplayName= Guard Service 
Description=This will install only on Windows XP or later 
ErrorControl=normal 
Interactive=no 
Name=guardsvc 
Start=install 
Type=ownProcess 
Vital='yes'

ConditionNOT VersionNT = 500/Condition  
/ServiceInstall 


Control Service: automatic start, but not started during install, will be
started on reboot

-- 
View this message in context: 
http://www.nabble.com/Service-Control-and-Service-Install-tf4836525.html#a13836611
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-16 Thread SaiTeja

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#a13788852
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] Custom Action type 1042 and 18

2007-11-16 Thread SaiTeja

Hi 

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
-- 
View this message in context: 
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a13787083
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-16 Thread SaiTeja

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#a13806014
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] Custom Action type 1042 and 18

2007-11-15 Thread SaiTeja

Hi,

Can any one give me example/How to write custom actions for following types

- Type 1042.
- Type 18


Thanks,

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


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Re gistry

2007-11-04 Thread SaiTeja

Hi,

Can any one tell me how to write custom actions for setting Registry.

Wix Student
-- 
View this message in context: 
http://www.nabble.com/Registry-tf4749862.html#a13581924
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users