Re: [WiX-users] CreateFolder, Permission, ignore errors

2010-04-05 Thread Alexander Gnauck
Am 03.04.2010 15:23, Bob Arnson wrote:
 No, MSI doesn't offer that feature.

thanks Bob

Alex



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] (network) permissions under vista

2007-08-27 Thread Alexander Gnauck
Hello,

i still have problems with my custom actions on Windows Vista.

With lots of workarounds and
Execute='deferred' Impersonate='no' flags
we got them working now on Vista in the most cases.

The case where they don't work is when the program or parts of the 
program get installed on a network share.
The MSI installer service is running under the local system account, and 
of course the local system account has no permissions to write data on a 
network share. So the defereeed actions fail.

Why is the installer able to install the files on a network share but my 
deferred elevated custom action is not able to write a file in the same 
directory on a network share?

Is there any solution for this problem?

Thanks
Alex


-
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] vista custom actions

2007-08-17 Thread Alexander Gnauck
Rob Hamflett schrieb:
 If you want them to be elevated you want Impersonate=no.  As for when they 
 are executed, that 
 depends on when you scheduled them, but a deferred custom action is supposed 
 to be scheduled 
 somewhere in the InstallExecuteSequence between InstallInitialize and 
 InstallFinalize.

The MSDN sais:
Note that only deferred execution custom actions can use the 
msidbCustomActionTypeNoImpersonate attribute. For more information see 
Custom Action In-Script Execution Options

this means i can elevate permissions only if I execute the actions deferred?
Is there no way to to elevate permissions for actions that have to 
execute immediate?

Elevated means i have the permissions of the LocalSystem account. Still 
not enough permissions to access the network etc

Are there any workarounds or tricks to execute custom actions with full 
admin permissions?
We tried a manifest in the native ca-dll, but the MSI installer ignores 
the manifest.

Thanks,
Alex





-
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] vista custom actions

2007-08-15 Thread Alexander Gnauck
Hello,

currently i have problems with our msi package under vista.
With Google and the search in this newsgroup i figured out how to 
elevate the privileges.
If I understood it correctly this works only if Execute=deferred  
Impersonate=yes

The problem is that in our installers the order of the custom actions is 
very important and we have to execute them mostly immediate.

Is there a workaround for this problem?
When does msiexec execute the deferred actions exactly?

Thanks,
Alex


-
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] create transformations, Orca alternatives

2006-10-10 Thread Alexander Gnauck
Wilson, Phil wrote:
 There's a vbscript WiGenXfm.vbs in the Windows Installer SDK. 

took a look at this script. It compares 2 MSI installations. But i have 
only 1 MSI file and want to create a transform which sets some 
properties (INSTALLDIR, ALLUSERS, SERIAL etc...)

Alex


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] create transformations, Orca alternatives

2006-10-10 Thread Alexander Gnauck
Tony Hoyle wrote:
 took a look at this script. It compares 2 MSI installations. But i have 
 only 1 MSI file and want to create a transform which sets some 
 properties (INSTALLDIR, ALLUSERS, SERIAL etc...)

 That's how transforms work unfortunately.. they are used to turn one MSI
 into another one.  You can't simply create one to change a variable in
 an existing MSI - it would be useful though.

hm Ok, is orga creating then a second MSI in the background if you 
create a .mst file?

Alex


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] conditional files, repair

2006-09-25 Thread Alexander Gnauck
Hello,

i have conditional files in my setup.
eg: a license file which is only copied when it exists on the media 
(same directory as the MSI).

When a file is not on the media during the install, and does not get 
installed for this reason, the repair install also ignores this file.
Is there a way to tell the installer to copy this file during the repair 
installation if it exists?

Thanks Alex


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] properties form previous versions

2006-09-22 Thread Alexander Gnauck
Wilson, Phil wrote:
 The standard way to persist that (the main application directory) is
 to use a type 51 custom action and set the ARPINSTALLLOCATION property,
 then it will get persisted in the MSI way (meaning that
 MsiGetProductInfo with INSTALLPROPERTY_INSTALLLOCATION and other
 standard APIs can get it). 

thank you Phil, this is what i was looking for.
Is there a way to do this with standard Wix commands,
or only with a custom action and a native dll.

Alex


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] properties form previous versions

2006-09-21 Thread Alexander Gnauck
Hello,

is there a way to get/access properties like INSTALLDIR and other custom 
properties from a previous installation which i update with an major 
upgrade using standard WIX functions?

Thanks
Alex


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] small and minor update problems

2006-09-14 Thread Alexander Gnauck
Hello,

i have strange problems with small and minor udpates. I studied the
example in the tutorial several times. The example works for me when i
compile it.
When i try to update my application then the update copies all new
files, but it doesn't replace all exe or dll files which changed. When i 
uninstall the applicaton it only uninstalls the files which where 
changed with the update. All other files remain on the disc.
The log shows no errors.

Any ideas what could be the reason for that?
Do i have to include all files with a minor update or only new files?

Alex


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] upgrade nightmare

2006-09-14 Thread Alexander Gnauck
Hello,

I am fighting for some days now with figuring out the best update 
strategy and writing samples for updating and/or patching.
Is read the tutorial (http://www.tramontana.co.hu/wix/lesson4.php) 
several times but there are still lots of open questions. Also the MSDN 
doesn't help that much with upgrades and patches.

So my question is what is the best strategy with upgrades. What are 
other developers using.
- Always full install and remove the old version
- small/or minor updates
- patches

Requirements:
- Install and Updates must be redistributable with group policies.
- The updates/patches must run without having the original MSI.
- The latest update must be always be able to update the product, 
doesn't matter which previous version is installed.

Scenario:
- customer installed v1.0
- v1.0 gets patched/updated to v1.01 and installed by the customer
- for whatever reason the customer gets updates v1.01 - 1.19 but does 
not install them (never change a running system ;-))
- now he gets v 1.20 and wants to install it. This update must be able 
to patch all version from 1.0 to 1.19

Are there any examples for a scenario like this? Which would be the best 
update strategy?

Alex





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Set Installdir

2006-08-10 Thread Alexander Gnauck
Hello,

Jaap de Wolff schrieb:
 I do the same , I use After=LaunchConditions, which is about the first
 possible moment

strange, i also tried this one and it didn't work for me. Here is my code:

Property Id='INNO_INSTALLDIR'
   RegistrySearch Id=reg_read_innopath2 Key=... Name=... Root 
=HKLM Type=directory/
 /Property

CustomAction Id=SetInstallDir Property=INSTALLDIR 
Value=[INNO_INSTALLDIR]/

InstallExecuteSequence
   Custom Action=SetInstallDir After=LaunchConditions
 ![CDATA[(INNO_INSTALLDIR  ) AND NOT Installed]]
   /Custom
/InstallExecuteSequence

Could you please post a snipped of your code?

Alex


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] quiet execution

2006-08-09 Thread Alexander Gnauck
Hello,

i have to uninstall the previous version of the program which i install 
with MSI now. The old version is not an MSI installer (Inno Setup). It 
will be uninstalled with a uninstaller exe. I grab the Path to the 
uninstall program from the registry using RegistrySearch/ and write it 
to a public property.

The problem here is that Properties set from RegistrySearch must be all 
capital characetrs and CAQuietExec from wixca in immediate mode wants a 
property named QtExecCmdLine. I also tried it in deferred mode and had 
not many luck. But the deferred mode is not what i want anyway.
Is my scenario possible without writing a own native dll?

Thanks Alex


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] quiet execution

2006-08-09 Thread Alexander Gnauck
Rob Hamflett schrieb:

 Really?  I'm not correcting you, I just find it strange.  As a work around 
 you could have a custom 
 action that sets the QtExecCmdLine property from another property you use for 
 the reg search.

Property Id='QtExecCmdLine '
   RegistrySearch Id=reag_read 
Key=Software\Microsoft\Windows\CurrentVersion\... 
Name=UninstallString Root =HKLM Type=raw/
  /Property

This gives me a compiler Error. It sais all characters of the Property 
id must be uppercase. But your tip with setting the property in a custom 
action works well.

Thanks Alex


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Keep files after uninstall

2006-08-03 Thread Alexander Gnauck
Hello,

What is the correct way of installing files which i don't want to 
uninstall later, or only uninstall with a custom action (eg. important 
databases). I read that files in a component without GUID will not be 
uninstalled. Is this the way to go?

Thanks Alex


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] german localization

2006-07-24 Thread Alexander Gnauck
Hello,

following is missing in the German localization to compile with 
WixUI_InstallDir

line 75: String Id=InstallDirDlgBrowseSamp;uchen.../String

i work with the latest weekly release version 2.x
could somebody add this to the source?

Regards
Alex


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users