[WiX-users] uninstall from control pannel does not remove all files

2007-10-25 Thread chandan Koushik

Hi All,
  i have installed a web application using wix3.0 .the installation was
successful.But when i try to uninstall the application using control
paneladd remove programs, the application vanishes from the add remove
list but all the files still exists physically on the disk.Even the entries
from the iis does not get deleted.hence i need to manually remove them.Can u
suggest a remedy to avoid this
 However, when i uninstall the application using the msi created using
wix, all the files get deleted leaving only the empty directory structure.

Any suggestion regarding this would be helpful.

chandan
-- 
View this message in context: 
http://www.nabble.com/uninstall-from-control-pannel-does-not-remove-all-files-tf4688897.html#a13401028
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


Re: [WiX-users] WiX-users Digest, Vol 17, Issue 119

2007-10-25 Thread Simon Topley
Thanks Bob, I'll give it a spin later today..

Simon 

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 24 October 2007 16:03
To: Simon Topley
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX-users Digest, Vol 17, Issue 119

Simon Topley wrote:
 I assume this isn't done in the Media element as I can only see that 
 you can specify that the cab is embedded and it's name..
   

Yes, you have multiple Media elements and use the DiskId attribute to
control which components go into which .cab.

--
sig://boB
http://joyofsetup.com/


The information contained in this e-mail is likely to be confidential and
may be legally privileged. It is intended only for the addressee. If you
have received this message in error please notify the sender immediately at
the above address. The disclosure, copying or distribution of this message
or its contents without the prior approval of Wallingford Software is
strictly prohibited. Wallingford Software is not liable for
unauthorised disclosures nor for subsequent actions or omissions in reliance
upon them.

Registered in the UK, company no: 02288719
Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA

-
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] Wix v3 SQL Error

2007-10-25 Thread Christoph Brennecke
Hi,

i have created a Wix project in Visual Studio 2005 which, among other things, 
should create a SQL database, but i'm always getting a compile error with 
light.exe:

Build log:

-- Build started: Project: Bit.PowerEconomizer.Setup, Configuration: Debug 
Any CPU --
C:\Program Files\Windows Installer XML v3\bin\candle.exe 
-dDebug -dDevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\\ 
-dSolutionDir=D:\PowerEconomizer\Bit.PowerEconomizer\ -dSolutionExt=.sln 
-dSolutionFileName=Bit.PowerEconomizer.sln -dSolutionName=Bit.PowerEconomizer 
-dSolutionPath=D:\PowerEconomizer\Bit.PowerEconomizer\Bit.PowerEconomizer.sln 
-out obj\Debug\Bit.PowerEconomizer.Setup.wixobj -ext C:\Program Files\Windows 
Installer XML v3\bin\WixDifxAppExtension.dll -ext C:\Program Files\Windows 
Installer XML v3\bin\WixIIsExtension.dll -ext C:\Program Files\Windows 
Installer XML v3\bin\WixNetFxExtension.dll -ext C:\Program Files\Windows 
Installer XML v3\bin\WixSqlExtension.dll -ext C:\Program Files\Windows 
Installer XML v3\bin\WixUIExtension.dll Bit.PowerEconomizer.Setup.wxs
C:\Program Files\Windows Installer XML v3\bin\Light.exe 
-cultures:en-US -ext C:\Program Files\Windows Installer XML 
v3\bin\WixDifxAppExtension.dll -ext C:\Program Files\Windows Installer XML 
v3\bin\WixIIsExtension.dll -ext C:\Program Files\Windows Installer XML 
v3\bin\WixNetFxExtension.dll -ext C:\Program Files\Windows Installer XML 
v3\bin\WixSqlExtension.dll -ext C:\Program Files\Windows Installer XML 
v3\bin\WixUIExtension.dll -out 
D:\PowerEconomizer\Bit.PowerEconomizer\Bit.PowerEconomizer.Setup\bin\Debug\Bit.PowerEconomizer.Setup.msi
 -v obj\Debug\Bit.PowerEconomizer.Setup.wixobj
C:\delivery\Dev\wix\src\ext\sqlextension\wixlib\SqlExtension.wxs(27,0): Error 
LGHT0094: Unresolved reference to symbol 'Binary:ScaSchedule' in section 
'Fragment:'.
C:\delivery\Dev\wix\src\ext\sqlextension\wixlib\SqlExtension.wxs(28,0): Error 
LGHT0094: Unresolved reference to symbol 'Binary:ScaSchedule' in section 
'Fragment:'.
Done building project Bit.PowerEconomizer.Setup.wixproj -- FAILED.

Build FAILED.
== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==
I'm using Wix v3.0.2925.0.

The SqlDatabase part in my wxs is:

Component Id=PowerEconomizerDatabaseComponent 
Guid=5B2D3457-856F-4505-92F6-87AE0197333B
  sql:SqlDatabase Id=PowerEconomizerDatabase
   ConfirmOverwrite=yes
   CreateOnInstall=yes
   ContinueOnError=no
   CreateOnReinstall=no
   CreateOnUninstall=no
   Database=PowerEconomizer
   DropOnInstall=no
   DropOnReinstall=no
   DropOnUninstall=yes
   Instance=SQLEXPRESS
   Server=localhost
sql:SqlFileSpec Id=DatabaseFile
 Name=PowerEconomizer_mdf
 
Filename=[TARGETDIR]\Data\PowerEconomizer.mdf/
sql:SqlLogFileSpec Id=DatabaseLog
Name=PowerEconomizer_ldf

Filename=[TARGETDIR]\Data\PowerEconomizer.ldf/
sql:SqlScript Id=PowerEconomizerDatabaseScript
   BinaryKey=CreateTablesSqlScript
   ContinueOnError=no
   ExecuteOnInstall=yes
   ExecuteOnReinstall=no
   ExecuteOnUninstall=no
   RollbackOnInstall=no
   RollbackOnReinstall=no
   RollbackOnUninstall=no /
  /sql:SqlDatabase
/Component


I tried to get it to work since two days now, but i'm totally stuck. Can 
anybody help me fixing this?

Christoph Brennecke

-
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


Re: [WiX-users] Checkbox does not recognize when it is checked

2007-10-25 Thread xyavier

I got the checkbox to work, but I still have a problem. My problem with the
checkbox was that I was presenting the checkbox during the uninstall
process. When I present the same code during install it works fine. The
problem is that I don't want to ask the user if he wants to uninstall extra
files when and if he chooses to uninstall the product in the future. He may
not know if he wants to uninstall files at some undetermined point in the
future. Is there a way to allow the user to make the decision when he is
uninstalling the software?

 





Richard-45 wrote:
 
 
 In article [EMAIL PROTECTED],
 xyavier [EMAIL PROTECTED]  writes:
 
 MSI (s) (AC:D0) [14:19:52:507]: Component: MyComponent; Installed: Local;  
 Request: Absent;   Action: Absent
 
 OK, this says your component is installed and will be removed.  Isn't
 there anything later in the log about files being removed for this
 component and so-on?
 
 PROPERTY CHANGE: Deleting DELALL property. Its current value is '1'.
 
 This says your property is being nuked.  What action is being
 processed where this occurs in your log?
 
 One other note just for clarification. When I make CheckBoxValue='1' and 
 Condition 
  DELALL = '1'
 /Condition
 
 Conditional statement syntax:
 http://msdn2.microsoft.com/en-us/library/aa368012.aspx
 
 Use  to surround string literals.  Numeric literals don't need them.
 -- 
 The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
   http://www.xmission.com/~legalize/book/download/index.html
 
 Legalize Adulthood! http://blogs.xmission.com/legalize/
 
 -
 This SF.net email is sponsored by: 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/Checkbox-does-not-recognize-when-it-is-checked-tf4683976.html#a13406107
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


Re: [WiX-users] uninstall from control pannel does not remove all files

2007-10-25 Thread Richard

In article [EMAIL PROTECTED],
chandan Koushik [EMAIL PROTECTED]  writes:

   i have installed a web application using wix3.0 .the installation was
 successful.But when i try to uninstall the application using control
 paneladd remove programs, the application vanishes from the add remove
 list but all the files still exists physically on the disk.Even the entries
 from the iis does not get deleted.hence i need to manually remove them.Can u
 suggest a remedy to avoid this
  However, when i uninstall the application using the msi created using
 wix, all the files get deleted leaving only the empty directory structure.

Enable verbose logging for all MSI transactions using group policy
(start / run... / gpedit.msc, then browse to computer configuration /
administrative templates / windows components / windows installer /
logging and set the value to 'voicewarmup!') and then look in
%TEMP%\MSI*.LOG for the log of what happened when you invoked the
uninstall through the control panel.
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

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

-
This SF.net email is sponsored by: 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


Re: [WiX-users] wix 2.0 to 3.0 - COM registration

2007-10-25 Thread Karim MacDonald


Strele Franz-2 wrote:
 
 You can use the 'undocumented' -scom switch with heat.exe to generate
 only RegistryKey/RegistryValue-entries (instead of Class/ProgId/...).
 
Many thanks Stele, for both posts: the -scom switch works perfectly  I can
use it guilt-free! I wonder if there's a feature-request for heat.exe to
automatically use -scom for .NET COM libs..? :0)

Karim
-- 
View this message in context: 
http://www.nabble.com/wix-2.0-to-3.0---COM-registration-tf4682182.html#a13408895
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


Re: [WiX-users] Easy WiX way for a custom action to call multiple utility DLLs?

2007-10-25 Thread Aris Green
Try embedding the other DLL as a custom resource using the .rc file.
Extract
the DLL first thing when the CA is called.  Use delayload linker option or
LoadLibrary to call the function in the extracted DLL.  I've done this
before.

A question, how do VC 2005 CA's requiring the C++ CRT Dll work on Vista?
Any
CRT using C++/CLI require a DLL link to the CRT.

 Karim MacDonald [EMAIL PROTECTED] wrote:

 If my CA in MyCA.dll needs to call a fn in MyUtils.dll then I'm currently
 expecting to have to write a separate pair of CAs that pull MyUtils.dllout
 of the Binary table and then delete it at end-of-setup.
 InstallShield provides just such a handy pair of Custom Actions
 (ISSETUPFILESEXTRACT  co.), and I was wondering if there's any WiX
 equivalent?

 tia,
 Karim
 --
 View this message in context:
http://www.nabble.com/Easy-WiX-way-for-a-custom-
action-to-call-multiple-utility-DLLs--tf4683485.html#a13382997
 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] Deleting files during Uninstall

2007-10-25 Thread Harini Gurusamy

Though my Uninstall succeeds , it does not remove the installed files.
I am not using any attributes like permanent =yes in my code. From the log 
files,looks like a success ( return values=1 )

MSI (s) (F4:98) [07:59:01:700]: Doing action: RemoveFiles
MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2:  3: ActionText
Action ended 7:59:01: RemoveRegistryValues. Return value 1.
MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2:  3: RemoveFile
MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2:  3: RemoveFile
Action start 7:59:01: RemoveFiles.

Any pointers what's happening behind

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


Re: [WiX-users] Easy WiX way for a custom action to call multiple utility DLLs?

2007-10-25 Thread Rob Mensching
Aris Green wrote:


 A question, how do VC 2005 CA's requiring the C++ CRT Dll work on 
 Vista?  Any
 CRT using C++/CLI require a DLL link to the CRT.


Statically link.  That's what all the WiX CustomActions do and while it 
makes the DLLs a bit bigger it totally minimizes the number of 
dependencies (especially nasty ones like the Win32 SxS CRT junk).

-
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


Re: [WiX-users] wixout file format

2007-10-25 Thread Rob Mensching
Adam Majer wrote:
 light.exe 3.0.2925.0

 [snip]
   -xo  output xml instead of MSI format
 [snip]

 So either xml is not xml or -xo file format changed but documentation
 has not.
   
Hah, you're right.  I guess VS and Office had more to grudge us than I 
gave them credit for.  smile/  I'll fix this as you suggest.

 Maybe it should say output internal WiX format instead of MSI format.

 Plain XML is still nicer regardless if it will result in something 1.35
 times bigger (if binary part is base64 encoded). But then I don't really
 have anything invested in -xo output format so it doesn't really matter
 to me.

   
Trust me, I've seen the performance numbers for Office and Visual 
Studio.  Increasing the size of the XML can swing their build times by 
double digit minutes and sometimes hours.  Honestly, I've toyed with the 
idea of going to straight to a binary format instead of XML for the 
intermediate file formats to see if that reduce the load times.  
However, the .wixobjs as XML has simplified my debugging a few times... 
shrug/

 PS. Another way would be to have a -xo for plain XML and -xb for the new
 binary format.
   
Not a bad suggestion.  It is tricky to handle the cases when binary 
files disappear but I'll mention it to Peter.


-
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] Adecco: 3-6 Month Consulting role (Boston, MA) Sr. Wix Release Engineer

2007-10-25 Thread Schecter, Todd
Hello All,

 

I was referred by one of the members of the group to join this group. 

 

I have a immediate need for a consultant in Boston. Please email me you
resume if you are interested in this role 

 

We are current looking for a Sr. Packaging Engineer for a 3month+
consulting project in Downtown Boston. Please email your resume to
[EMAIL PROTECTED] for an Immediate response.



Main Responsibilities:
Writes installation scripts and WiX based (Windows Installer XML)
programs for installation of products. Work with project teams to
determine an appropriate release schedule and then initiate the build
and packaging process. 

Required Skills:
Knowledge of IT-industry accepted CM practices, policies, and
procedures. Experience in all phases of structured life cycle. Knowledge
of the software development/integration process, customer operations,
and Configuration Management in a heterogeneous computer platform
environment. Strong understanding of programming concepts; product
versioning, tagging and building; source control, and supportable,
repeatable process. Microsoft development environments and deployment
platforms are used. 
The candidate must be experienced with Microsoft tools and technologies.
.NET experience is a must. 

Required Skills:

Microsoft Installer technologies and standards and WiX (Windows
Installer XML)
XML, XSL-T, Microsoft XML parser or knowledge of other XML standards
Nant and MSBuild Nunit and MStest with good understanding of unit
testing methodologies IIS, Active Server Pages, ASP.NET
C#, COM+ HTML, JavaScript, VB Script
Solid understanding of Windows 2000, Windows 2003, Windows NT 4.0
and Windows XP operating systems. Knowledge of registry and application
configurations for the Windows environment.


Desired Skills:
Personally developed or worked with a team to develop a form or web
application that provided data to more than 1,000 clients. Understanding
of network load balancing
A solid understanding of industry standard server hardware (e.g. HP,
Dell and Sun Microsystems) Knowledge of standard TCP/IP networking
(ability to understand fundamentals such as sub-netting, NAT, PAT and
basic TCP port assignments (e.g. HTTP = port 80). Knowledge of other
Microsoft products which includes, but is not limited to, SharePoint,
BizTalk, Exchange and SQL Server. Knowledge of relational database
systems (e.g. SQL Server, Oracle and Sybase). Experience with developing
products for the financial market segment is desirable.

 

Todd Schecter

Sr. Technical Recruiter 

Adecco Engineering  Technical 

(978) 251-7300

 

-
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] MMC Snapin

2007-10-25 Thread Levon Levonian
Hi All,

 

Is there a (easy) way to deploy an MMC Snap-in?

 

Thanks!


**
READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure.

Internet messages may be corrupted, incomplete, misdirected or may
incorrectly identify the sender. Therefore, nothing in this message or
attachments may be considered legally binding.

THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL
OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED.

If you are not the intended recipient or their authorized agent, you
may not forward or copy this information and must delete or destroy all
copies of this message and attachments received.

If you have received this communication in error, please notify
Matrikon Inc. by telephone at (780) 448-1010.
**


-
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] Installing IIS after .Net Framework 2.0 is installed

2007-10-25 Thread Abdullah Ahmed
Hey guys,

I have a wix project which installs IIS and .Net Framework 2.0 as pre-req's.
In the case of windows 2k3 sp2 the 2.0 framework is already installed buy
IIS may not be installed...so the installer goes ahead and installs IIS and
runs aspnet_regiis /i via the command line to register asp.net with IIS.

After this however I still need to do the following steps in order to allow
the asp.net webservice extensions

1. open IIS manager (Start - Run - inetmgr)
2. open Web Service Extensions
3. Select ASP.NET v1.1.4322 and hit the ALLOW button
4. Select ASP.NET v2.0.50727 and hit the ALLOW button
5. Perform an IIS reset (Start - Run - iisreset)

Is there anyway of automating this via wix or some command line method of
doing so?

-- 
. Abdullah Ahmed
. [EMAIL PROTECTED]
-
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] Undefined reference in Type 35 custom action

2007-10-25 Thread Steve Wood (OCS)
I have an installer that includes a merge module:

...
Merge Id=Merge_UCCApi.msm DiskId=1 Language=1033 
SourceFile=$(var._LCSROOT)\external\mgc\UCCApi.msm /
...
MergeRef Id=Merge_UCCApi.msm /

And I want to set the INSTALLDIR of the merge module to track the INSTALLDIR of 
my installation package, so I tried this:

!-- Set value of INSTALLDIR in UccApp.msm to track the INSTALLDIR of this 
installation package --
CustomAction Id=CA_SetUCCAPI_INSTALLLOCATION 
Directory=INSTALLDIR.C1402412_4C1F_48DB_B516_EE41CFE8BCA9 
Value=[INSTALLDIR] /

And get this error from light.exe:

100foo.wxs : error lght0112 : unresolved reference to symbol 
'directory:installdir.c1402412_4c1f_48db_b516_ee41cfe8bca9' in section 
'product:3212588d-108a-47a6-9ff1-56b425010302'.(0) : error 0112 : Unresolved 
reference to symbol 'Directory:INSTALLDIR.C1402412_4C1F_48DB_B516_EE41CFE8BCA9' 
in section 'Product:3212588D-108A-47A6-9FF1-56B425010302'.

Looking at UccApi.msm in Orca, I see this is the Directory table:

[cid:image001.png@01C816FA.8EA210C0]

Any thoughts as to how to get around this error?

Thanks.

-Steve
inline: image001.png-
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] Hiding shortcuts from non-priveleged users

2007-10-25 Thread Werner, Harvey D
I have a shortcut to uninstall our product, but I want that shortcut to
only display for privileged users. I don't what just any user seeing it
from the start menu.

 

How is that done?

 

For a local user not in the Administrators group, Add or Remove Programs
has no Change button for our application so that part is OK.

--
Harvey Werner
HP StorageWorks, NAS Division
971.327.5279


  

 

-
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


Re: [WiX-users] Hiding shortcuts from non-priveleged users

2007-10-25 Thread Christopher Painter
If your putting a shortcut on the desktop, you'll first want to read about how 
it's not a really good idea in the first place.
   
  
http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx
   
  That said, I know NTFS supports controlling who can list the contents of a 
folder, but I don't think there is a way to control who can and can't see a 
.LNK file.It could possibly be done with GPO but that's way outside of the 
realm of setup.
   
  In short I wouldn't try, but if it's possible, maybe someone will think of a 
way I haven't thought of.  I'll be looking out for it...
   
  
Werner, Harvey D [EMAIL PROTECTED] wrote:
I have a shortcut to uninstall our product, but I want that 
shortcut to only display for privileged users. I don’t what just any user 
seeing it from the start menu.
   
  How is that done?
   
  For a local user not in the Administrators group, Add or Remove Programs has 
no Change button for our application so that part is OK.
  --
Harvey Werner
HP StorageWorks, NAS Division
971.327.5279


  
   

-
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


 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] detecting .net 2.0

2007-10-25 Thread Kelly Leahy
I found this post - which is very helpful: 
http://blogs.msdn.com/robmen/archive/2006/10/17/wix-v3-syntax-for-detecting-the-clr.aspx

However, I've read that .NET 2.0 applications will work with .NET 2.0, 
.NET 3.0, or .NET 3.5 installed (as they all use the same core CLR 2.0).

Is the NETFRAMEWORK20 variable defined for machines that have ONLY .NET 
3.0, or ONLY .NET 3.5?

If not, what's the recommended best practice for requiring anything that 
can run 2.0 code, in other words, .NET 2.0 or higher?

Thanks,
Kelly Leahy
Milliman, Inc.


**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**-
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] Removal of file on uninstall

2007-10-25 Thread Jaguar 36
Hi,
 
I discovered a weird problem when uninstalling.
I had a file in WindowsFolder as well as a file in SystemFolder.
Key was set to Permanent=no for both files.
On uninstallation, the one in WindowsFolder got removed while 
the one in SystemFolder did not.
I even tried to explicitly remove the file from RemoveFile but it did not work 
despite the log saying that it did.
 
Thanks for any suggestions!
_
Get your free suite of Windows Live services!
http://www.get.live.com/wl/all-
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


Re: [WiX-users] detecting .net 2.0

2007-10-25 Thread Matt Hoover (VSNC)
It is not possible to have only .Net 3.0 or only .Net 3.5.  .Net 3.0 builds 
upon and extends .Net 2.0, and if .Net 2.0 isn't installed when you install 
.Net 3.0, it will install .Net 2.0 for you.  And .Net 3.5 builds upon and 
extends .Net 3.0, so it will also install and/or patch .Net 2.0 and .Net 3.0 
during the .Net 3.5 install.
--matt hoover

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Leahy
Sent: Thursday, October 25, 2007 4:24 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] detecting .net 2.0


I found this post - which is very helpful: 
http://blogs.msdn.com/robmen/archive/2006/10/17/wix-v3-syntax-for-detecting-the-clr.aspx

However, I've read that .NET 2.0 applications will work with .NET 2.0, .NET 
3.0, or .NET 3.5 installed (as they all use the same core CLR 2.0).

Is the NETFRAMEWORK20 variable defined for machines that have ONLY .NET 3.0, or 
ONLY .NET 3.5?

If not, what's the recommended best practice for requiring anything that can 
run 2.0 code, in other words, .NET 2.0 or higher?

Thanks,
Kelly Leahy
Milliman, Inc.

**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or
opinions upon which reliance may be made by the addressee or any
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries
guidelines.
**
-
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


Re: [WiX-users] detecting .net 2.0

2007-10-25 Thread Kelly Leahy
Thanks Matt.

That was the critical piece of information I was missing.  So is the .NET 
3.0 installation actually a bootstrapper that installs the .NET 2.0 
installation via delegation to the original .NET 2.0 package, or are the 
installs combined?

I guess the answer doesn't really matter, but I'm just curious.

Kelly




Matt Hoover (VSNC) [EMAIL PROTECTED]

10/25/2007 03:37 PM

To
Kelly Leahy [EMAIL PROTECTED], wix-users@lists.sourceforge.net 
wix-users@lists.sourceforge.net
cc

Subject
RE: [WiX-users] detecting .net 2.0






It is not possible to have only .Net 3.0 or only .Net 3.5.  .Net 3.0 
builds upon and extends .Net 2.0, and if .Net 2.0 isn’t installed when you 
install .Net 3.0, it will install .Net 2.0 for you.  And .Net 3.5 builds 
upon and extends .Net 3.0, so it will also install and/or patch .Net 2.0 
and .Net 3.0 during the .Net 3.5 install.
--matt hoover
 
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Kelly Leahy
Sent: Thursday, October 25, 2007 4:24 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] detecting .net 2.0
 

I found this post - which is very helpful: 
http://blogs.msdn.com/robmen/archive/2006/10/17/wix-v3-syntax-for-detecting-the-clr.aspx
 


However, I've read that .NET 2.0 applications will work with .NET 2.0, 
.NET 3.0, or .NET 3.5 installed (as they all use the same core CLR 2.0). 

Is the NETFRAMEWORK20 variable defined for machines that have ONLY .NET 
3.0, or ONLY .NET 3.5? 

If not, what's the recommended best practice for requiring anything that 
can run 2.0 code, in other words, .NET 2.0 or higher? 

Thanks, 
Kelly Leahy 
Milliman, Inc. 

**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**



**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**
-
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


Re: [WiX-users] detecting .net 2.0

2007-10-25 Thread Matt Hoover (VSNC)
I don’t remember the exact mechanics, but the later installers do bootstrap the 
earlier installers and service packs.  I am forgetting right now where .Net 2.0 
SP1 was introduced, but by the time .Net 3.5 is installed, .Net 2.0 will be 
patched to the SP1 level.  Without looking at the installers, I can’t remember 
what is done in what order, but the effect is to have the latest service packs 
for .Net 2.0 and .Net 3.0 installed by the time that .Net 3.5 completes its 
install.  If you have a Visual Studio 2008 Beta 2 install disk, you can look at 
the installers that do this.  If you look in the WCU\dotNetFramework on the 
disk, you can see the installers that are used.
--matt hoover

From: Kelly Leahy [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 6:40 PM
To: Matt Hoover (VSNC)
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] detecting .net 2.0


Thanks Matt.

That was the critical piece of information I was missing.  So is the .NET 3.0 
installation actually a bootstrapper that installs the .NET 2.0 installation 
via delegation to the original .NET 2.0 package, or are the installs combined?

I guess the answer doesn't really matter, but I'm just curious.

Kelly


Matt Hoover (VSNC) [EMAIL PROTECTED]

10/25/2007 03:37 PM

To

Kelly Leahy [EMAIL PROTECTED], wix-users@lists.sourceforge.net 
wix-users@lists.sourceforge.net

cc

Subject

RE: [WiX-users] detecting .net 2.0







It is not possible to have only .Net 3.0 or only .Net 3.5.  .Net 3.0 builds 
upon and extends .Net 2.0, and if .Net 2.0 isn’t installed when you install 
.Net 3.0, it will install .Net 2.0 for you.  And .Net 3.5 builds upon and 
extends .Net 3.0, so it will also install and/or patch .Net 2.0 and .Net 3.0 
during the .Net 3.5 install.
--matt hoover

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Leahy
Sent: Thursday, October 25, 2007 4:24 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] detecting .net 2.0


I found this post - which is very helpful: 
http://blogs.msdn.com/robmen/archive/2006/10/17/wix-v3-syntax-for-detecting-the-clr.aspx

However, I've read that .NET 2.0 applications will work with .NET 2.0, .NET 
3.0, or .NET 3.5 installed (as they all use the same core CLR 2.0).

Is the NETFRAMEWORK20 variable defined for machines that have ONLY .NET 3.0, or 
ONLY .NET 3.5?

If not, what's the recommended best practice for requiring anything that can 
run 2.0 code, in other words, .NET 2.0 or higher?

Thanks,
Kelly Leahy
Milliman, Inc.

**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or
opinions upon which reliance may be made by the addressee or any
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries
guidelines.
**


**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or
opinions upon which reliance may be made by the addressee or any
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries
guidelines.
**
-
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


Re: [WiX-users] wixout file format

2007-10-25 Thread Blair Murri
The format is only binary when there are embedded files. That happens when 
one of the source files was built passing the -bf option to light.exe (or a 
similar argument to some similar utility). If that argument was never used, the 
wixouts generated will never have embedded files in them, and will never be 
written with the cab. However, when building the extensions, the -bf flag is 
used to ensure that light has access to the C++ custom action dll, and if any 
of the inputs to light include embedded wixouts, the output will preserve 
those by creating a binary out.

-bf converts the -xo from pure XML to binary. Note that you can still open 
the wixout in your favorite text editor and remove the cab part, saving off 
the xml part, which you can then open in your favorite xml editor/parser to 
debug the xml.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Thursday, October 25, 2007 9:09 AM
To: Adam Majer
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wixout file format

Adam Majer wrote:

 PS. Another way would be to have a -xo for plain XML and -xb for the new
 binary format.

Not a bad suggestion.  It is tricky to handle the cases when binary
files disappear but I'll mention it to Peter.



-
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


Re: [WiX-users] MMC Snapin

2007-10-25 Thread Rob Mensching
There is an extension in WiX v3 that handles much of the authoring work 
for you.

Levon Levonian wrote:

 Hi All,

  

 Is there a (easy) way to deploy an MMC Snap-in?



-
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


Re: [WiX-users] Easy WiX way for a custom action to call multiple utility DLLs?

2007-10-25 Thread Aris Green
In regards to Rob Mensching's comment,

Statically link.  That's what all the WiX CustomActions do and while it
makes the DLLs a bit bigger it totally minimizes the number of
dependencies (especially nasty ones like the Win32 SxS CRT junk).

Static linking definitely seems like the right thing to do.  This is what I
have done with VC 2003 and earlier for previous installs.  However I have
noticed that some programs, such as a WTL 8.0 Win EXE (I avoid MFC) I wrote,
did not work on a lot of XP Pro SP2 machines when I statically linked it.
The dialogs would not load their resource templates and were completely
blank.  However, when I linked the CRT as a DLL, it worked;  I don't know
why.

Also, if the CLR is used in a CA, i.e. a managed function exported as an
unmanaged functions as opposed to the installutil type components, I believe
that you can't use static linking to the CRT and that the CRT has to be
linked in as a DLL.  Mayber CA's using managed code is not such a good
idea.  I know some people are against managed code in CA's, but if you know
that .NET 2.0 is on the box, they can save a lot of time.
-
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


Re: [WiX-users] Easy WiX way for a custom action to call multiple utility DLLs?

2007-10-25 Thread Rob Mensching
I'm admittedly hardcore about this but IMHO custom actions should be 
native code DLLs that have as few dependencies as physically possible 
(certainly should have no dependency on WTL).  Statically linking the 
CRT then use as few DLLs from the system provides the highest 
probability that the code will work in the most number of environments.

Personally, development time takes a back seat to correctness and 
robustness.  Yes, I realize that other people face different time 
pressures.  I just view custom actions as an extension to the Windows 
Installer and thus need to be extremely robust with the minimal 
prerequisites.

Aris Green wrote:
 In regards to Rob Mensching's comment,
 
 Statically link.  That's what all the WiX CustomActions do and while it
 makes the DLLs a bit bigger it totally minimizes the number of
 dependencies (especially nasty ones like the Win32 SxS CRT junk).
  
 Static linking definitely seems like the right thing to do.  This is 
 what I have done with VC 2003 and earlier for previous installs.  
 However I have noticed that some programs, such as a WTL 8.0 Win EXE 
 (I avoid MFC) I wrote, did not work on a lot of XP Pro SP2 machines 
 when I statically linked it.  The dialogs would not load their 
 resource templates and were completely blank.  However, when I linked 
 the CRT as a DLL, it worked;  I don't know why.
  
 Also, if the CLR is used in a CA, i.e. a managed function exported as 
 an unmanaged functions as opposed to the installutil type components, 
 I believe that you can't use static linking to the CRT and that the 
 CRT has to be linked in as a DLL.  Mayber CA's using managed code is 
 not such a good idea.  I know some people are against managed code in 
 CA's, but if you know that .NET 2.0 is on the box, they can save a lot 
 of time.
  

-
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