Re: [WiX-users] Prevent logging

2012-12-05 Thread Grigory Konovalov
>>The CustomAction element needs a HideTarget as well. That'd be a bug in the 
>>WiX toolset.

I tried to solve a problem with "ExecXmlFile" by this way.
I have just changed a type of ExecXmlFile custom action in the result msi file 
from 3073 to 11265 (open it by Orca and add 0x2000 to the default value) and 
logging have stopped.
Is it possible to change type of ExecXmlFile from wix without manual actions?

I tried to use a standard way:


But got an error:
Duplicate symbol 'CustomAction:ExecXmlFile' found. This typically means that an 
Id is duplicated. Check to make sure all your identifiers of a given type 
(File, Component, Feature) are unique.   
E:\delivery\Dev\wix36_public\src\ext\UtilExtension\wixlib\UtilExtension_Platform.wxi
 1501

I tried to use
CustomActionRef
and
CustomTable
objects, but had no success.


Regards,
Grigory Konovalov

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Prevent logging

2012-12-05 Thread Grigory Konovalov
>> Add this to ensure that the custom action data is hidden as well:

>> 



Thanks for your help, but it helps to hide only one place with passwords in log.

But I still have some  places with passwords:

. . .
MSI (s) (0C:80) [15:27:09:048]: Executing op: 
CustomActionSchedule(Action=ExecXmlFile,ActionType=3073,Source=BinaryData,Target=ExecXmlFile,CustomActionData=
2 0 C:\Program 
Files\ProgramName\Web.config€3€0€/configuration/system.web/sessionState/@sqlConnectionString€€Data
 Source=SQL_SERVER;User ID=Login;Password=Pass)
. . .
Executing op: RegAddValue(Name=DB Connection String,Value=Data Source= 
SQL_SERVER;Initial Catalog=DBName;User ID=Login;Password=Pass;Connect 
Timeout=120,)
WriteRegistryValues: Key: \SOFTWARE\ProgramNameKey, Name: DB Connection String, 
Value: Data Source= SQL_SERVER;Initial Catalog=DBName;User 
ID=Login;Password=Pass;Connect Timeout=120
. . .


doesn’t help.

Regards,
Grigory Konovalov

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Prevent logging

2012-12-03 Thread Grigory Konovalov
>> Can I prevent logging of values for RegistryValue and Util:XmlFile 
>> components?
>Use Property/@Secure

It doesn’t help.
My properties are secure, but are still logged:


log file:
Property(S): SecureCustomProperties = …;CONNECTION_STRING;…

MSI (s) (4C!34) [10:31:16:859]: PROPERTY CHANGE: Adding ExecXmlFile property. 
Its value is '2€0€C:\Program Files\ProgramName \Web.config€
3€0€/configuration/appSettings/add[@key='KeepSessionAspxUrl']/@value€€http://localhost/
 KeepSession.aspx€3€0€/configuration/system.web/sessionState/@mode€€SQLServer€
3€0€/configuration/system.web/sessionState/@sqlConnectionString€€Data 
Source=SQL_SERVER;User ID=Login;Password=Pass'.

Regards,
Grigory Konovalov

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Prevent logging

2012-11-29 Thread Grigory Konovalov
Hi
I use “RegistryValue” and “Util:XmlFile” components in my setup to write some 
properties to the registry and to a config file.
Some of the properties are secret (f.e. connection strings and passwords).
I have to use standard log abilities to log a setup actions. These logs can be 
created on the user computers and then can be sent to our support, so log file 
shouldn’t contain such secret information.
Can I prevent logging of values for “RegistryValue” and “Util:XmlFile” 
components?

I run my msi the following way:
msiexec /i file.msi /l*v file.log

Wix part:

and


Properties CONNECTION_STRING and SESSION_STATE_CONNECTION_STRING are marked as 
Hidden.

Log information looks like:
…
MSI (s) (FC:1C) [12:41:48:619]: Executing op: RegAddValue(Name=DB Connection 
String,Value=Data Source=SQLServerName;Initial Catalog=DatabaseName;User 
ID=login;Password=pass;Connect Timeout=120,)
…

and

…
MSI (s) (4C!5C) [14:58:44:370]: PROPERTY CHANGE: Adding ExecXmlFile property. 
Its value is '2€0€
…
/configuration/system.web/sessionState/@sqlConnectionString€€Data 
Source=SQLServerName;User ID=login;Password=pass'.
…


Regards,
Grigory Konovalov

--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] A problem with update an Edit control

2011-10-26 Thread Grigory Konovalov
Hi all.
I have a problem with update an Edit control.
I have the Edit control and a button.
I want to change value in the Edit control after a user press the button.
Looks like following:




   1


But if the value in the Edit control was changed by the user, it won't change 
after button press. I have to change dialog (press Back or Next buttons and 
return back) to see new value.

I tried to use Indirect property, but it didn't help. Behavior of the control 
is the same.
Looks like following:





  1


I have implemented "double dialogs" and change dialogs after the button is 
pressed (move to an equal dialog after the button press).
But I want to know, is it a single solution?
And why PathEdit and ComboBox controls work fine with the Indirect property, 
but Edit control doesn't work?

Grigory Konovalov
Software Engineer

--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Strange behavior with date modifying of installed files

2011-09-28 Thread Grigory Konovalov
Why WIX save local time for files, but doesn't save UTC time?
For example, a file has 10.00 time modified in a server with UTC+01.00 (it is 
9.00 in UTC time).
I create msi on this server and install it on a new server with UTC-01.00.
The file have 10.00 time modified on the new server after installation, but 
there should be 8.00 time (real date creation 9.00 in UTC minus 1 hour of time 
zone).
If we change UTC on the new server to UTC+01.00 like on the first server, 
modified time will change to 12.00 (it is 11.00 in UTC time).
Therefore modified date increase on 2 hours.
I guess, it is strange.

Grigory Konovalov
Software Engineer
grigory.konova...@confirmit.com<mailto:grigory.konova...@confirmit.com> | Phone 
+7 4852 586 924 | Mobile +7 902 221 6886

Confirmit(r) [everywhere]

Software for Market Research and Enterprise Feedback Management

Confirmit Ltd., 56 Lisizina str., Yaroslavl, Russia, 150014
www.confirmit.com<http://www.confirmit.com/> |  Main/fax +7 4852 586 924; +7 
4852 586 925

The information contained in this email message may be privileged, confidential 
or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any use, dissemination, distribution or 
copying of this transmission is strictly prohibited. If you have received this 
communication in error, or if any problems occur with transmission, please 
notify the sender immediately.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Strange behavior with date modifying of installed files

2011-09-27 Thread Grigory Konovalov
Hi all,

I have noticed a strange behavior during installation.
For example, we have a build server with UTC+01.00.
I have a production server with UTC-06.00.
I run a build on the build server and create an installation.
I install the installation on the production server and can see, that "modify 
date" of all files are in future.
Is such behavior correct?
May I change "modify date" parameter by WIX?


Grigory Konovalov
Software Engineer
grigory.konova...@confirmit.com<mailto:grigory.konova...@confirmit.com> | Phone 
+7 4852 586 924 | Mobile +7 902 221 6886

Confirmit(r) [everywhere]

Software for Market Research and Enterprise Feedback Management

Confirmit Ltd., 56 Lisizina str., Yaroslavl, Russia, 150014
www.confirmit.com<http://www.confirmit.com/> |  Main/fax +7 4852 586 924; +7 
4852 586 925

The information contained in this email message may be privileged, confidential 
or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any use, dissemination, distribution or 
copying of this transmission is strictly prohibited. If you have received this 
communication in error, or if any problems occur with transmission, please 
notify the sender immediately.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Length of Source parameter

2009-12-11 Thread Grigory Konovalov
Hi, all!

I have an error with this code:




Error message:
Error 6 The system cannot find the file 
'..\..\assemblies\TestConsole\app.publish\Application 
Files\MyProgramTestConsole_15_0_1_0\MyProgramCatiConsole_15_0_0_0\MyProgramCatiConsole_15_0_1_0\MyProgram12\Key.xxx'
 with type ''. light.exe   0 1 ClientsDeploymentProject

If change "MyProgram12" to "MyProgram1" all will work fine.

Has WIX limit on length of Source parameter?

Can I increase this length?
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Execute action during path installation

2009-02-06 Thread Grigory Konovalov
Hello All!
I need remove file and execute custom action during patch installation. Is this 
possible? And if yes please give me small example.
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Localize Custom Action messages

2008-11-09 Thread Grigory Konovalov
Hello, All.

I'm using WIX 3.0. How is this possible/best way to localize Custom Action 
messages?

Thanks.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with update "ComboBox" control

2008-10-23 Thread Grigory Konovalov
Thank for your answer.

I try do this, but my code don't work.

 1
 



What I should write here?


> Add to your control events dummy property setting events that set the 
> property to its existing value, i.e. Foo=[Foo].



> > I want view new values right away after "FillDatabaseCustomAction" executed.

> > How can I do this?



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with update "ComboBox" control

2008-10-23 Thread Grigory Konovalov
Hi all.
I try fill some values to "ComboBox" control with the help of CA(custom action).
My wix code:

  1 - this work, but new values show after change dialog (go 
to another dialog and return to this dialog)
  
  
  


I want view new values right away after "FillDatabaseCustomAction" executed.
How can I do this?

Sorry for my English.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users