[WiX-users] Browse for file dialog replacing files

2008-04-21 Thread chandan Koushik

Hi,
My Wix installer should support the upload of company logo(gif file) during
installation,In order to achieve this i have created and added the UI and
also got hold of the custom action to browse for file dialog.when i click
the browse button the path of the file gets stored in the property
PATHTOFILE.
Please suggest a way in which i can store this new image file in the
/applications/image folder by replacing the old image file with this new
image file.
Also this upload of company logo should be optional during installation.i.e.
if the user does not provide the path for new image file,the
previous(original) image should be taken into consideration.

Please suggest how to achieve this in Wix.

Chandan:-)
-- 
View this message in context: 
http://www.nabble.com/Browse-for-file-dialog---replacing-files-tp16805725p16805725.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] conditional installation of services

2008-01-29 Thread chandan Koushik

Hi All,
I have an alarm.exe file which should run as a service.This exe file is
dependent on Sql Server service.I use the following code to run this exe as
a windows service
ServiceInstall Id=SIalarm DisplayName=Alarm Server Name=Alarm
ErrorControl=normal Start=auto 
Type=ownProcess Vital=yes
Description=Allows products to use a variety of media to warn of critical
conditions 
ServiceDependency Id=MSSQLSERVER/
/ServiceInstall
The problem i am facing is that the target system can have SQL
Server2005(Service name:MSSQLSERVER) installed or SQL Server express
(Service Name:MSSQL$SQLEXPRESS)installed. So Putting it straight, how shall
i use the ServiceDependency tag for appropriate versions of sql server.

Suggestions would be helpful for me to overcome this problem.

Chandan.
-- 
View this message in context: 
http://www.nabble.com/conditional-installation-of-services-tp15158040p15158040.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] Which version of sql server installed on a machine

2008-01-16 Thread chandan Koushik

I apologize for posting this if it has been answered earlier but I am unable
to get this working.

I am installing a database on the target machine using SqlDatabase tag ,I do
not know whether the end-user
has SQLExpress or SQL installed, so I dont know whether to use

Server='[%COMPUTERNAME]\SQLEXPRESS'
or
Server='[%COMPUTERNAME]'

Please let me know how to detect which is flavour of sql is installed, and
then set a variable, then use that variable, something like

Server='[%COMPUTERNAME][SQL]'

please suggest how to achieve this in wix.
-- 
View this message in context: 
http://www.nabble.com/Which-version-of-sql-server-installed-on-a-machine-tp14909618p14909618.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] SQL Versions in installer

2008-01-16 Thread chandan Koushik

I actually wanted few suggestions , our application should support two
version of sql server i.e. sqlserver2005 and sql server2005express edition.
The sql server2005 express edition is used to show a small demo of our
application to prospective customers by installing express edition of sql
server on the client system, and then installing Our Product   .

On the other hand when the customer purchases the product, the sqlserver2005
full version should be as pre requisites installed. 

This two flavors of sql server uses different connection strings to connect
to database and also to connect to report server.

I use wix3.0 as deployment tool for the product .The connection string and
report server url is being written at many places(web.config,reports
deployment config file,windows services config file) and so I am facing
problems in putting entries in these files based on which flavour of sql
server is installed.

Can you please let me know if we can have a mechanism (in WIX)of detecting
the flavour of sql server2005 and put corresponding entries in files.

This could be something like


 If SQL Server2005 full version then  

Connection String=”Data Source=[SQLSERVER];Initial
Catalog=MaxDB;User ID=[SQLUSER];Password=[SQLPASSWORD];Max Pool Size=275”

Key=ReportsServerUrl value=http://[SQLSERVER]/reportserver 

Else

 If SQL Server express editionthen  

Connection String=”Data Source=[SQLSERVER]\SQLExpress; Initial
Catalog=MaxDB;User ID=[SQLUSER];Password=[SQLPASSWORD];Max Pool Size=275”

  Key=ReportsServerUrl value=
http://[SQLSERVER]/reportserver$SQLExpress  

End if 


Hope you got what I meant to convey :-)

Please suggest.

-- 
View this message in context: 
http://www.nabble.com/SQL-Versions-in-installer-tp14911215p14911215.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] Problems in running vbscript during install

2007-11-23 Thread chandan Koushik

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

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

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

Regards,
Chandan

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


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


[WiX-users] re gistering a dll in global assembly cache

2007-11-19 Thread chandan Koushik

Hi All,
I wanted to register OFFICE.dll in the global assembly cache .
Normally we do this using the command 
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe -i
C:\OFFICE.DLL 
and this dll gets registered in the cache .

I tried the following code out to achieve this in wix but this doesn't work.

CustomAction Id=InstallOffice FileKey=gacutil.exe ExeCommand=-i
quot;C:\OFFICE.DLLquot; Return=ignore/

InstallExecuteSequence
Custom Action=InstallOffice After=InstallFinalize NOT
Installed/Custom
/InstallExecuteSequence


And also the other approach did not work out.

Property Id=gacutilexegacutil/Property
CustomAction Id=InstallOffice Property=gacutilexe ExeCommand=/i
quot;C:\OFFICE.DLLquot; Return=check/

InstallExecuteSequence
Custom Action=InstallOffice After=InstallFinalize NOT
Installed/Custom
/InstallExecuteSequence

can anyone help me as to how can this be achieved using custom action in
wix3.0 .
Plz Help.
Regards
Chandan
-- 
View this message in context: 
http://www.nabble.com/registering-a-dll-in-global-assembly-cache-tf4841578.html#a13851851
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] uninstall from control pannel does not remove all files

2007-10-26 Thread chandan Koushik
]: Component: Component37; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:513]: Component: Component38; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:513]: Component: Component38AZ; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:529]: Component: Component39; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:529]: Component: Component40; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:544]: Component: Component41; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:560]: Component: Component42; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:591]: Component: Component43; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:607]: Component: Component44; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:607]: Component: Component45; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:623]: Component: Component46; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:623]: Component: Component47; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:638]: Component: Component48; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:638]: Component: WebVirtualDirComponent;
Installed: Local;   Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:654]: Component: InstallConfToolWeb; Installed:
Local;   Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:654]: Component: ICTWebCode; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:670]: Component: ICTWebData; Installed: Local;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:685]: Component: InstallConfToolWebSiteIIS5;
Installed: Local;   Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:685]: Component: InstallConfToolWebSiteIIS6;
Installed: Local;   Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:701]: Component: __com65; Installed: Null;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:701]: Component: __com66; Installed: Null;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:717]: Component: __com67; Installed: Null;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:717]: Component: __com68; Installed: Null;  
Request: Null;   Action: Null
MSI (s) (78:60) [15:06:15:732]: Component: __regEntry65; Installed: Null;  
Request: Absent;   Action: Absent
MSI (s) (78:60) [15:06:15:732]: Component: __InstallConfTool65; Installed:
Null;   Request: Absent;   Action: Absent
-end of part of log file--


Richard-45 wrote:
 
 
 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
 
 

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


[WiX-users] Using CustomAction during the installUISequence

2007-09-18 Thread chandan Koushik

Hi All,
I have a config.cpp file which contains the function

_declspec(dllexport) UINT CheckBluePrint (MSIHANDLE hInstall) 
{
int dRet=0;
logfile = fopen(c:\\mnsetup.log,a);
fprintf(logfile,installer for Me\n);
CoInitialize(NULL);
dRet = Process_Blueprint(hInstall);
CoUninitialize();
fclose(logfile);
if(dRet==0)
   return ERROR_SUCCESS;
else
  return ERROR_INSTALL_FAILURE;
}

The dll is included into the msi, and I use the function in embedded dll
using 

CustomAction Id=CheckBluePrint BinaryKey=SETUPCONFIG
DllEntry=CheckBluePrint /

I include the file

Binary Id=SETUPCONFIG SourceFile=Config.dll /

I run the custom action during the installUISequence:
InstallUISequence
  Custom Action=CheckBluePrint After=LaunchConditions/
   Show Dialog=InstallDlg
After=WelcomeEulaDlgINSTALLDATABASE/Show
/InstallUISequence

I want that this dll should run just before starting the actual
installationof my product as this file sets certain wix properties for other
files.The Wix file compiles and i get the .msi but when i run the installer
The installation ends prematurely.

Any help regarding this would be helpful.




-- 
View this message in context: 
http://www.nabble.com/Using-CustomAction-during-the-installUISequence-tf4475083.html#a12759513
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] Using CustomAction during the installUISequence

2007-09-18 Thread chandan Koushik

Sorry, i m attaching the installation log:
Hope that helps 

Rob Hamflett wrote:
 
 'ends prematurely' isn't much to go on.  Does it report error numbers? 
 Does a logged installation 
 report anything useful?
 
 Rob
 
 chandan Koushik wrote:
 Hi All,
 I have a config.cpp file which contains the function
 
 _declspec(dllexport) UINT CheckBluePrint (MSIHANDLE hInstall) 
 {
 int dRet=0;
 logfile = fopen(c:\\mnsetup.log,a);
 fprintf(logfile,installer for Me\n);
 CoInitialize(NULL);
 dRet = Process_Blueprint(hInstall);
 CoUninitialize();
 fclose(logfile);
 if(dRet==0)
return ERROR_SUCCESS;
 else
   return ERROR_INSTALL_FAILURE;
 }
 
 The dll is included into the msi, and I use the function in embedded dll
 using 
 
 CustomAction Id=CheckBluePrint BinaryKey=SETUPCONFIG
 DllEntry=CheckBluePrint /
 
 I include the file
 
 Binary Id=SETUPCONFIG SourceFile=Config.dll /
 
 I run the custom action during the installUISequence:
 InstallUISequence
   Custom Action=CheckBluePrint After=LaunchConditions/
Show Dialog=InstallDlg
 After=WelcomeEulaDlgINSTALLDATABASE/Show
 /InstallUISequence
 
 I want that this dll should run just before starting the actual
 installationof my product as this file sets certain wix properties for
 other
 files.The Wix file compiles and i get the .msi but when i run the
 installer
 The installation ends prematurely.
 
 Any help regarding this would be helpful.
 
 
 
 
 
 
 -
 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
 
 
http://www.nabble.com/file/p12760687/product.log product.log 
http://www.nabble.com/file/p12760687/product.log product.log 
-- 
View this message in context: 
http://www.nabble.com/Using-CustomAction-during-the-installUISequence-tf4475083.html#a12760687
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] Primary Key LicenseAccepted duplicated in table CheckBox

2007-08-29 Thread Chandan Koushik
Hi All, 
  Sorry the code was not Accompanied in the previous mail... I am
using Wix3.0 I have created a new Dialog using the code shown below . 

UIRef Id=WixUI_Mondo / 

UI 
Dialog Id=InstallDlg1 Width=370
Height=270 Title=[ProductName] [Setup] NoMinimize=yes 

Control Id=Title Type=Text X=15
Y=10 Width=350 Height=15 Transparent=yes NoPrefix=yes 
Text[DlgTitleFont]Please enter
the UserName and Password for the My Database setup./Text 
/Control 
Control Id=UserNameEdit Type=Edit
X=35 Y=75 Width=200 Height=18 Property=SQLUSER Text={80} / 
Control Id=UserName Type=Text
X=35 Y=50 Width=50 Height=10 TabSkip=no 
TextUser Name/Text 
/Control 
Control Id=PasswordEdit Type=Edit
X=35 Y=145 Width=200 Height=18 Property=SQLPASSWORD
Text={80} / 
Control Id=Password Type=Text
X=35 Y=120 Width=50 Height=10 TabSkip=no 
TextPassword/Text 
/Control 

Control Id=Install Type=PushButton
X=304 Y=243 Width=56 Height=17 Default=yes Text=Install now

Publish Event=NewDialog
Value=ProgressDlg / 
Publish Event=EndDialog
Value=Return / 
/Control 
/Dialog 

TextStyle Id=DlgFont8 FaceName=Tahoma
Size=8 / 
TextStyle Id=DlgFontBold8 FaceName=Tahoma
Size=8 Bold=yes / 
TextStyle Id=VerdanaBold13 FaceName=Verdana
Size=13 Bold=yes / 

AdminUISequence / 

/UI 

I am using this code in the main Wix file. At a certain place I am
referring to InstallDlg1  using the element 
Show Dialog=InstallDlg1
After=WelcomeEulaDlgINSTALLDATABASE/Show 

But this gives me an error stating 

The primary key 'LicenseAccepted' is duplicated in table
'CheckBox'.  Please remove one of the entries or rename a part of the
primary key to avoid the collision.
C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeEulaDlg.wxs 10 1
MyDeployment 

Any Help related to this would be appreciated 
   Thanks in Advance. 
Regards 
Chandan. 

 

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 30, 2007 10:37 AM
To: Chandan Koushik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Primary Key LicenseAccepted duplicated in table
CheckBox

 

chandan Koushik wrote:

 UIRef Id=WixUI_Mondo /

 ...

 I am using this code in the main Wix file. At a certain place I am

 referring to InstallDlg1  using the element

 Show Dialog=InstallDlg1 

 After=WelcomeEulaDlgINSTALLDATABASE/Show

 

 But this gives me an error stating 

 

 The primary key 'LicenseAccepted' is duplicated in table
'CheckBox'. 

 Please remove one of the entries or rename a part of the primary key
to

 avoid the collision.  

   

 

WixUI_Mondo uses WelcomeDlg and LicenseAgreementDlg; WelcomeEulaDlg has 

its own license control and LicenseAccepted checkbox. You need to create


a custom dialog set to insert your dialog.

 

-- 

sig://boB

http://joyofsetup.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] Primary Key LicenseAccepted duplicated in table CheckBox

2007-08-27 Thread chandan Koushik

Hi All,
  I am using Wix3.0 I have created a new Dialig using the code shown
below .







[DlgTitleFont]Please enter the UserName 
and Password for the My
Database setup.



User Name



Password
















I am using this code in the main Wix file. At a certain place I am
referring to InstallDlg1  using the element
INSTALLDATABASE

But this gives me an error stating 

The primary key 'LicenseAccepted' is duplicated in table 'CheckBox'. 
Please remove one of the entries or rename a part of the primary key to
avoid the collision.
C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeEulaDlg.wxs   10  
1
MyDeployment

Any Help related to this Would be appreciated
   Thanks inAdvance.
Regards 
Chandan.

-- 
View this message in context: 
http://www.nabble.com/Primary-Key-LicenseAccepted-duplicated-in-table-CheckBox-tf4339737.html#a12362129
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] Primary Key LicenseAccepted duplicated in table CheckBox

2007-08-27 Thread chandan Koushik

Hi All,
  Sorry the code was not Accompanied in the previous mail... I am using
Wix3.0 I have created a new Dialig using the code shown below .

UIRef Id=WixUI_Mondo /

UI
Dialog Id=InstallDlg1 Width=370 Height=270 
Title=[ProductName]
[Setup] NoMinimize=yes

Control Id=Title Type=Text X=15 Y=10 
Width=350 Height=15
Transparent=yes NoPrefix=yes
Text[DlgTitleFont]Please enter the 
UserName and Password for the My
Database setup./Text
/Control
Control Id=UserNameEdit Type=Edit X=35 
Y=75 Width=200
Height=18 Property=SQLUSER Text={80} /
Control Id=UserName Type=Text X=35 
Y=50 Width=50 Height=10
TabSkip=no
TextUser Name/Text
/Control
Control Id=PasswordEdit Type=Edit X=35 
Y=145 Width=200
Height=18 Property=SQLPASSWORD Text={80} /
Control Id=Password Type=Text X=35 
Y=120 Width=50 Height=10
TabSkip=no
TextPassword/Text
/Control

Control Id=Install Type=PushButton X=304 
Y=243 Width=56
Height=17 Default=yes Text=Install now
Publish Event=NewDialog 
Value=ProgressDlg /
Publish Event=EndDialog 
Value=Return /
/Control
/Dialog

TextStyle Id=DlgFont8 FaceName=Tahoma Size=8 /
TextStyle Id=DlgFontBold8 FaceName=Tahoma Size=8 
Bold=yes /
TextStyle Id=VerdanaBold13 FaceName=Verdana 
Size=13 Bold=yes /

AdminUISequence /

/UI

I am using this code in the main Wix file. At a certain place I am
referring to InstallDlg1  using the element
Show Dialog=InstallDlg1 
After=WelcomeEulaDlgINSTALLDATABASE/Show

But this gives me an error stating 

The primary key 'LicenseAccepted' is duplicated in table 'CheckBox'. 
Please remove one of the entries or rename a part of the primary key to
avoid the collision.
C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeEulaDlg.wxs   10  
1
MyDeployment

Any Help related to this Would be appreciated
   Thanks inAdvance.
Regards 
Chandan.

-- 
View this message in context: 
http://www.nabble.com/Primary-Key-LicenseAccepted-duplicated-in-table-CheckBox-tf4339744.html#a12362144
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] Problems with shortcuts

2007-08-09 Thread Chandan Koushik
Hi all,

I have developed a web application using VS2005 which is
running fine .I packaged the application(named Product.msi) using
wix2.0.5325.0 .

I want to create the shortcut of the web application on the Desktop and
on the Start menu from the iis, but the following code only creates a
aspx file which on opening opens the code of it,Not the  executable
version.

 

Directory Id=TARGETDIR Name=SourceDir FileSource=c:\ 

  Directory Id=IISMain Name=Inetpub FileSource=C:\\

   Directory Id=WWWMain Name=wwwroot

Directory Id=INSTALLLOCATION Name=HotReser
LongName=HotelReservation

 

   Component Id=MainComponent
Guid=E4BEFA15-3A83-4139-B9D7-5C0A23AD2B6D

   

File Id=hotel.aspxpage Name=hotel.asp
LongName=hotel.aspx DiskId=1 Source=../hotel.aspx Vital=yes

Shortcut Id=DesktopShrtcut
Directory=DesktopFolder

Name=hotel.asp
LongName=HotelReservation WorkingDirectory=INSTALLLOCATION /

Shortcut Id=StartMenuShrtcut
Directory=ProgramMenuDir

  Name=hotel.asp
LongName=HotelReservation WorkingDirectory=INSTALLLOCATION/

  /File

File Id=Config Name=CnfgFile DiskId=1
Source=../web.config Vital=yes/

File Id=cs Name=codefile
LongName=hotel.aspx.cs DiskId=1 Source=../hotel.aspx.cs
Vital=yes/

RemoveFile Id='RemFile' On='uninstall'
Name='*.*' /

RemoveFolder Id='RemFol' On='uninstall'/

/Component



   /Directory

  /Directory

  Directory Id=ProgramMenuFolder Name=Programs

   Directory Id=ProgramMenuDir Name=Hotel
LongName=Hotel Reservation /

  /Directory

 

  Directory Id=DesktopFolder Name=Desktop /

 /Directory

 

  Component Id='TestWebVirtualDirComponent'
Guid='01C4D79E-54F0-4e5c-8376-F57A9393BB1A'

   WebVirtualDir Id='TestWebVirtualDir' Alias='Hotela'
Directory='INSTALLLOCATION' WebSite='DefaultWebSite'

WebApplication Id='DeployWebApplication'
Name='Hotel'/

   /WebVirtualDir

  /Component

 

/Directory

  WebSite Id='DefaultWebSite' Description='Default Web Site'

  WebAddress Id='AllUnassigned' Port='80' /

  /WebSite

  

 

  Feature Id=ProductFeature Title=Feature Title Level=1

  ComponentRef Id=MainComponent /

  ComponentRef Id=TestWebVirtualDirComponent/

 

  /Feature

 

Please Help Out.

 

Regards,

Chandan Koushik

Ph- 0091-9908512275

-
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] Error while parsing

2007-08-08 Thread Chandan Koushik
Hi ,

Thanks for the reply, I have already attached the
WixUI.wixlib file but still it does not rectify the problem.

 

Note:   List of files attached as references to product.wxs
files are

 
WixUI.wixlib

 
WixUI_en- us.wxl

 
sca.wixlib

 

Regards,

Chandan Koushik



From: Matthieu RUNTZ [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 12:03 PM
To: Chandan Koushik
Cc: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error while parsing

 

Hello,

 

You should also reference WixUI.wixlib.

 

Regards

Matthieu

 

2007/8/8, chandan Koushik [EMAIL PROTECTED]: 


Hi,
   I am using vs2005(with wix 2.0.5325.0)  to create wxs files and there
when i add a reference to WixUI_en- us.wxl file and build it i get the
following error

Error   1   Invalid output file, detail: Error while parsing: The
xml document
element was expected to be tableDefinitions, but was actually
WixLocalization.C:\Program Files\Windows Installer
XML\bin\WixUI_en- us.wxl

 Without Including this reference I get some of the localization
errors
like

Error   1   The localization string 'ProgressTextInstallValidate' is
unknown.
Ensure that the localization variable $(
loc.ProgressTextInstallValidate) is
defined.light.exe

Error   2   The localization string 'ProgressTextInstallFiles' is
unknown.
Ensure that the localization variable $(loc.ProgressTextInstallFiles )
is
defined.light.exe

Error   3   The localization string
'ProgressTextInstallFilesTemplate' is
unknown.  Ensure that the localization variable
$(loc.ProgressTextInstallFilesTemplate) is defined. light.exe

The Error list is never ending ..Please suggest.

Regards
Chandan
--
View this message in context:
http://www.nabble.com/Error-while-building-tf4206260.html#a12047412 
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 nowhttp://get.splunk.com/
http://get.splunk.com/ 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 

-
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] Fatal Error CNDL0005

2007-08-02 Thread chandan Koushik

Hi all,
  I am new to wix and i am stuck at a point during deployment of my web
project.
I am using Wix 2.0.5325.0. When i compile my file using the candle
command(as shown below):-

C:\Program Files\Windows Installer XML\bincandle -out C:\Documents and S
ettings\chandan.k\Desktop\DeployingANDRenderingReports\deploy2wix\
C:\Documents
and
Settings\chandan.k\Desktop\DeployingANDRenderingReports\deploy2wix\Product.wxs

I get the following error:

candle.exe : fatal error CNDL0005: File of type 'Source' with name 'and'
could not be found.

Where as i cannot locate this error anywhere.
Please suggest.

Regards 
Chandan 
-- 
View this message in context: 
http://www.nabble.com/Fatal-Error--CNDL0005-tf4205664.html#a11962977
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] localization problem

2007-08-02 Thread chandan Koushik

Hi All,
I am using Wix Compiler version 2.0.5325.0 . when i am compiling the
file Product.wxs which is added with a web project, I get the following
errors 

Error   1   The localization string 'ProgressTextInstallValidate' is 
unknown. 
Ensure that the localization variable $(loc.ProgressTextInstallValidate) is
defined.light.exe   
Error   2   The localization string 'ProgressTextInstallFiles' is unknown. 
Ensure that the localization variable $(loc.ProgressTextInstallFiles) is
defined.light.exe   

And the error list goes on 
I tried to add the file wixui_en-us.wxl but this did not help .
Please advise


-- 
View this message in context: 
http://www.nabble.com/localization-problem-tf4205749.html#a11963228
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] Error while building

2007-08-02 Thread Chandan Koushik
Hi All,

I am using Wix 2.0.5325.0 version and I am getting the
following error when I am  trying to build the project using vs2005
environment.

 

Error   1  Invalid output file, detail: Error while parsing: The
xml document element was expected to be tableDefinitions, but was
actually WixLocalization.   C:\Program Files\Windows Installer
XML\bin\wixui_en-us.wxl  

 

Can anyone please help me out...

 

Regards,

Chandan Koushik

 

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

2007-07-26 Thread chandan Koushik

Hi All,

I am trying to use wix for  installation of my product .When i try to use
the UI wizard  in my wxs file by using the following lines:

UIRef Id=WixUI_Mondo /

UIRef Id=WixUI_ErrorProgressText /

I get the fillowing error while linking :



unresolved reference to the symbol 'WixUI: WixUI_Mondo' in the section 

Product={35D229AD-6CBC-4815-908D-33DB6E2691C0}



unresolved reference to the symbol 'WixUI: WixUI_ErrorProgressText' in the
section 

Product={35D229AD-6CBC-4815-908D-33DB6E2691C0}



Plz help!!



Regards 

Chandan

-- 
View this message in context: 
http://www.nabble.com/WixUI_Mondo-tf4149525.html#a11804672
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