[WiX-users] SQLExtension create database and access denied error

2009-08-31 Thread Crusty Applesniffer
Hello,

 

I'm trying to define a new SQL database using Wix, that has its files (MDF
and LDF) in a specific folder (ideally in the user's documents and settings,
but this is another story)

 

The thing is when I use the snippet :

 



  



  

   .



  

  







  



 

I get the following error when launching the MSI file

 

CreateDatabase:  Error 0x80040e14: failed to create to database:
'MyDatabase', error: CREATE FILE encountered operating system error 5(Access
denied.) while attempting to open or create the physical file 'C:\Program
Files (x86)\MyCompany\MyApp\MyDatabase.mdf'.

 

I'm using Vista 64 bits and the MSI file is a 32bits one (but I've got the
same when using the 64bits one)

 

I wonder if there is a way to create theses files (mdf and ldf) in a folder
that is not the default one (C:\Program Files (x86)\Microsoft SQL
Server\MSSQL.1\MSSQL\Data)

 

Thank you 

 

Crusty Applesniffer

 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WixUI_Advanced flavor and 64 bits folder

2009-05-14 Thread Crusty Applesniffer
Hello, 

 

I wonder if there isn't a bug in "WixUI_Advanced" flavor with 64bits.

The suggested folder in the destination folder dialog is "C:\Program Files
(x86)\My App" but when I change the flavor into WixUI_InstallDir (and set
the WIXUI_INSTALLDIR property), the suggested folder is the right one
("C:\Program Files\My App")

 

Did I miss another property ?

 

My wxs file:



http://schemas.microsoft.com/wix/2006/wi";>

  





 



 



  



  



  





  



  

  



  



 



  









  

  

  

  



 

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ClickThrough newbie question: How to use it ?

2007-11-08 Thread Crusty Applesniffer
Hello,

I'm wondering how to use the ClickThrough feature.
When I start the CT user interface, it asks me for a "path to directory 
that contains your built isolated application"
My application is made of 3 services and 2 user interfaces (all is 
distributed through a .msi file built with Wix)
What path should I put in the text field ? the setup path or one of my 
.exe paths ?

Moreover I do not understand how my application (services and user 
interfaces) could check there is a new version available.

I've already read the ClickThrough Project vision 
(http://wix.sourceforge.net/ctvision.html) and any other information is 
welcome.

Thanks.

Crusty Applesniffer.





-
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 3.0 and SQLExpress

2007-08-24 Thread Crusty Applesniffer




Hi!

I'm using Wix 3.0 and I need to create a database during installation.
I wonder if it is possible to detect a previous installation of
SQLExpress and to use it if exist else install SQLExpress and use this
new instance.

Thanks
Crusty Applesniffer.






-
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 3.0 and xxxFailureActionType (service installation)

2007-08-08 Thread Crusty Applesniffer
   
Hello,

I'm using Wix3.0 and trying to define, during installation process, the 
default actions to be done when a service fails.









http://schemas.microsoft.com/wix/UtilExtension";
FirstFailureActionType="restart"
SecondFailureActionType="runCommand"
ThirdFailureActionType="reboot"
RestartServiceDelayInSeconds="10"
ProgramCommandLine= 
"[INSTALLLOCATION]\App.exe"
ResetPeriodInDays="7" />



...

I'm facing 2 issues:
* "reboot" as FailureActionType seems to crash the installation (not 
the wix compilation)
* How can I define the path of the app to run when one of the 
xxxFailureAction is set to "runCommand"? [INSTALLLOCATION]\App.exe is 
used "as is" no "translation".


Thank you for your feedback.

Crusty Applesniffer.





-
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] xxxFailureActionType and Wix 3.0

2007-08-02 Thread Crusty Applesniffer




Hello,

I'm using Wix3.0 and trying to define, during installation process, the
default actions to be done when a service fails.

<Directory Id="TARGETDIR" Name="SourceDir">
   
<Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLLOCATION"
Name="MyName">
            <Component Id="MyIdSvc" Guid="72BFD935-4DB7-4079-8BB2-894E3D6B6FCE" SharedDllRefCount='no' 
                KeyPath='no' NeverOverwrite='no' Permanent='no' Transitive='no' Win64='no' Location='either'>
                <File Id="mySvc" Name="Svc.exe" Source="..\Svc\bin\Svc.exe" ReadOnly='no' KeyPath='yes' Hidden='no' System='no' Vital='yes' Checksum='no' />
                <ServiceInstall Id='SvcInstall' DisplayName='SvcName' Name='Svc' ErrorControl='normal' Start='auto' Type='ownProcess' Vital='yes' >
                    <ServiceDependency Id='tcpip' Group='no'/>
 
              <ServiceConfig xmlns="http://schemas.microsoft.com/wix/UtilExtension"

                                FirstFailureActionType="restart" 
                                SecondFailureActionType="runCommand"

                                ThirdFailureActionType="reboot" 
                                RestartServiceDelayInSeconds="10"
                                ProgramCommandLine= "[INSTALLLOCATION]\App.exe"
                                ResetPeriodInDays="7" />
                ServiceInstall>
                <ServiceControl Id='AppliSvcControl'
Name='AppliSvc' Start='install' Stop='uninstall' Remove='uninstall'/>
            Component>
...


I'm facing 2 issues:
* "reboot" as FailureActionType seems to crash the installation
(not the wix compilation)
* How can I define the path of the app to run when one of the
xxxFailureAction is set to "runCommand"? [INSTALLLOCATION]\App.exe is
used "as is" no "translation".

Thank you for your feedback.

Crusty Applesniffer.





-
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] How to declare optional - but exclusive - components?

2007-07-25 Thread Crusty Applesniffer
Sorry,



  

  
  

  
  


  
  


  



If user selects "Service N°2" during installation, "Service N°1" feature 
will be unselected.
If user selects "Service N°1" during installation, "Service N°2" feature 
goes back to unselected

(I hope it is clearer, sorry)

Bob Arnson wrote:
> Crusty Applesniffer wrote:
>   
>> I'm using Wix3.0 and I wonder if there is a way to declare two 
>> components that can not be installed for the same feature.
>> I mean how can I have:
>> (x) Feature 1
>> (x) Component A
>> (  ) Component B
>>
>> that automatically changes to :
>> (x) Feature 1
>> (  ) Component A
>> (x) Component B
>>
>> when the user selects component B (and vice-versa)
>>   
>> 
>
> It's not clear what you're looking for. Users don't select components -- 
> the setup developer specifies which components belong to which features. 
> Do you want a UI control?
>
>   



-
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] How to declare optional - but exclusive - components?

2007-07-25 Thread Crusty Applesniffer
Hello,
I'm using Wix3.0 and I wonder if there is a way to declare two 
components that can not be installed for the same feature.
I mean how can I have:
(x) Feature 1
(x) Component A
(  ) Component B

that automatically changes to :
(x) Feature 1
(  ) Component A
(x) Component B

when the user selects component B (and vice-versa)

Thank you

Crusty Applesniffer



-
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] How to declare optional - but exclusive - components?

2007-07-20 Thread Crusty Applesniffer
Hello,
I'm using Wix3.0 and I wonder if there is a way to declare two 
components that can not be installed for the same feature.
I mean how can I have:
(x) Feature 1
(x) Component A
(  ) Component B

that automatically changes to :
(x) Feature 1
(  ) Component A
(x) Component B

when the user selects component B (and vice-versa)

Thank you

Crusty Applesniffer



-
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