asdlei00 / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

How to set the privacy policy to a file in the installation? #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello this is a question that I need answered quickly. What should the url look 
like for a privacy policy file that lives in the installer? In my case the rtf 
is colocated with crashsender.exe.

I've tried 

info.pszPrivacyPolicyURL = _T("crash_report_privacy_policy.rtf");

which produces an assertion in crashsender.

Thanks a lot.
-Adam

Original issue reported on code.google.com by ABrussZ...@gmail.com on 27 Sep 2012 at 3:47

GoogleCodeExporter commented 9 years ago
Doing something like 
_T("file:///D:/ProjectsSVN/CRASHRPT/1.3.1_r1383/bin/x64/crash_report_privacy_pol
icy.rtf"); works so all I have to do is at run-time figure out where the file 
is and install crashrpt accordingly. That realization was a face palm moment.

Original comment by ABrussZ...@gmail.com on 27 Sep 2012 at 4:01

GoogleCodeExporter commented 9 years ago
Good to hear you resolved your problem. I'll extend the documentation to take 
your issue into account.

Original comment by zexspect...@gmail.com on 28 Sep 2012 at 11:00

GoogleCodeExporter commented 9 years ago
I added the following fragment to documentation:

"Specifying the Privacy Policy File

Crash information collected by CrashRpt may contain some user-identifying or 
private data (e.g. desktop screenshots and so on). That's why you should always 
provide a link to your Privacy Policy file describing what information you 
collect on crash and what purposes you use it for. By clicking the Send Report 
button, user confirms he/she is familiar with the contents of the error report 
and accepts the terms of the Privacy Policy.
To specify the file containing your Privacy Policy text, use the 
CR_INSTALL_INFO::pszPrivacyPolicyURL structure member. This parameter can be 
either a web-based URL (e.g. http://example.com/privacy.html), or an absolute 
path to local file (e.g. file:///C:/MyApp/privacy.html). The file may be an 
HTML page, a TXT file or an RTF file."

Original comment by zexspect...@gmail.com on 9 Oct 2012 at 2:35