RE: 4D Volume desktop v15/v16 in write protected folder

2017-01-12 Thread Piotr Chabot Stadhouders
Hi All,

The problem isn't the data file is in read only mode. I already use the new 
mechanism in v15.3 with the Default Data folder

The problem is the structure file
A strange thing (Maybe only with 4D Volume Desktop)
I have checked the option "Do not display warning when structure file is in 
read only", but I still get an error saying the file is "Write protected"
Does anybody know why this is? Is there a solution for this?

Gr,

Piotr




> -Oorspronkelijk bericht-
> Van: Wayne Stewart [mailto:wayne.b.stew...@gmail.com]
> Verzonden: donderdag 12 januari 2017 3:50
> Aan: 4D iNug Technical <4d_tech@lists.4d.com>
> Onderwerp: Re: 4D Volume desktop v15/v16 in write protected folder
> 
> Thanks, I'll have to check that out
> 
> Regards,
> 
> Wayne
> 
> 
> Wayne Stewart
> about.me/waynestewart
> 
> 
> 
> 
> On 12 January 2017 at 13:38, Spencer Hinsdale 
> wrote:
> > i think the question is how to make it run.  first you check the checkbox,
> "Do not display warning when structure file is in read only".  then you write
> some code to open a writeable data file and remember where it is. :)
> >
> >> On Jan 11, 2017, at 6:11 PM, Wayne Stewart
>  wrote:
> >>
> >> Hi,
> >>
> >> I think the question is not only data file but structure as well.
> >>
> >> Problems:
> >> Storage of lists
> >> Logs
> >> Preferences
> >>
> >> Regards,
> >>
> >> Wayne
> >>
> >>
> >> Wayne Stewart
> >> about.me/waynestewart
> >>
> >>
> >>
> >>
> >> On 12 January 2017 at 13:09, Spencer Hinsdale
>  wrote:
> >>> The v15 R4 Upgrade docs show features to store the Data File Path in
> User Prefs, etc...
> >>>
> >>> ftp://ftp-
> public.4d.fr/Documents/Products_Documentation/LastVersions/Line_15R4/
> VIntl/4D_Upgrade_v15_R4.pdf <ftp://ftp-
> public.4d.fr/Documents/Products_Documentation/LastVersions/Line_15R4/
> VIntl/4D_Upgrade_v15_R4.pdf>
> >>>
> >>>
> >>> In v15 it is possible to set compatibility to allow read-only (to suppress
> the error) and then in code determine if the "default" data file is being
> opened, read your own prefs, and Open Data File (last saved to your prefs).
> >>>
> >>>
> >>>> On Jan 11, 2017, at 5:36 PM, John DeSoi  wrote:
> >>>>
> >>>> Hi Piotr,
> >>>>
> >>>>
> >>>>> On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders
>  wrote:
> >>>>>
> >>>>> So, my question is (again) :
> >>>>> Does anybody know of a way to run an application build with 4D
> Volume Desktop in a write protected citrix environment, without using
> virtual store and elevated privileges?
> >>>>> Now, in v15, I am getting an alert saying "Database is write protected".
> Because 4D still wants to store the location of the datafile in the structure?
> >>>>> I thought this was possible in v15
> >>>
> >>>
> **
> 
> >>> 4D Internet Users Group (4D iNUG)
> >>> FAQ:  http://lists.4d.com/faqnug.html
> >>> Archive:  http://lists.4d.com/archives.html
> >>> Options: http://lists.4d.com/mailman/options/4d_tech
> >>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >>>
> **
> 
> >>
> **
> 
> >> 4D Internet Users Group (4D iNUG)
> >> FAQ:  http://lists.4d.com/faqnug.html
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: http://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >>
> **
> 
> >
> >
> **
> 
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >
> **
> 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Justin Carr
And you also need to run the application once from a writeable area before you 
move it to the non writeable media.


> On 12 Jan 2017, at 12:38 pm, Spencer Hinsdale  wrote:
> 
> i think the question is how to make it run.  first you check the checkbox, 
> "Do not display warning when structure file is in read only".  then you write 
> some code to open a writeable data file and remember where it is. :)
> 
>> On Jan 11, 2017, at 6:11 PM, Wayne Stewart  wrote:
>> 
>> Hi,
>> 
>> I think the question is not only data file but structure as well.
>> 
>> Problems:
>> Storage of lists
>> Logs
>> Preferences
>> 
>> Regards,
>> 
>> Wayne
>> 
>> 
>> Wayne Stewart
>> about.me/waynestewart
>> 
>> 
>> 
>> 
>> On 12 January 2017 at 13:09, Spencer Hinsdale  
>> wrote:
>>> The v15 R4 Upgrade docs show features to store the Data File Path in User 
>>> Prefs, etc...
>>> 
>>> ftp://ftp-public.4d.fr/Documents/Products_Documentation/LastVersions/Line_15R4/VIntl/4D_Upgrade_v15_R4.pdf
>>>  
>>> 
>>> 
>>> 
>>> In v15 it is possible to set compatibility to allow read-only (to suppress 
>>> the error) and then in code determine if the "default" data file is being 
>>> opened, read your own prefs, and Open Data File (last saved to your prefs).
>>> 
>>> 
 On Jan 11, 2017, at 5:36 PM, John DeSoi  wrote:
 
 Hi Piotr,
 
 
> On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders 
>  wrote:
> 
> So, my question is (again) :
> Does anybody know of a way to run an application build with 4D Volume 
> Desktop in a write protected citrix environment, without using virtual 
> store and elevated privileges?
> Now, in v15, I am getting an alert saying "Database is write protected". 
> Because 4D still wants to store the location of the datafile in the 
> structure?
> I thought this was possible in v15
>>> 
>>> **
>>> 4D Internet Users Group (4D iNUG)
>>> FAQ:  http://lists.4d.com/faqnug.html
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: http://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> **
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Wayne Stewart
Thanks, I'll have to check that out

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 12 January 2017 at 13:38, Spencer Hinsdale  wrote:
> i think the question is how to make it run.  first you check the checkbox, 
> "Do not display warning when structure file is in read only".  then you write 
> some code to open a writeable data file and remember where it is. :)
>
>> On Jan 11, 2017, at 6:11 PM, Wayne Stewart  wrote:
>>
>> Hi,
>>
>> I think the question is not only data file but structure as well.
>>
>> Problems:
>> Storage of lists
>> Logs
>> Preferences
>>
>> Regards,
>>
>> Wayne
>>
>>
>> Wayne Stewart
>> about.me/waynestewart
>>
>>
>>
>>
>> On 12 January 2017 at 13:09, Spencer Hinsdale  
>> wrote:
>>> The v15 R4 Upgrade docs show features to store the Data File Path in User 
>>> Prefs, etc...
>>>
>>> ftp://ftp-public.4d.fr/Documents/Products_Documentation/LastVersions/Line_15R4/VIntl/4D_Upgrade_v15_R4.pdf
>>>  
>>> 
>>>
>>>
>>> In v15 it is possible to set compatibility to allow read-only (to suppress 
>>> the error) and then in code determine if the "default" data file is being 
>>> opened, read your own prefs, and Open Data File (last saved to your prefs).
>>>
>>>
 On Jan 11, 2017, at 5:36 PM, John DeSoi  wrote:

 Hi Piotr,


> On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders 
>  wrote:
>
> So, my question is (again) :
> Does anybody know of a way to run an application build with 4D Volume 
> Desktop in a write protected citrix environment, without using virtual 
> store and elevated privileges?
> Now, in v15, I am getting an alert saying "Database is write protected". 
> Because 4D still wants to store the location of the datafile in the 
> structure?
> I thought this was possible in v15
>>>
>>> **
>>> 4D Internet Users Group (4D iNUG)
>>> FAQ:  http://lists.4d.com/faqnug.html
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: http://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> **
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Spencer Hinsdale
i think the question is how to make it run.  first you check the checkbox, "Do 
not display warning when structure file is in read only".  then you write some 
code to open a writeable data file and remember where it is. :)

> On Jan 11, 2017, at 6:11 PM, Wayne Stewart  wrote:
> 
> Hi,
> 
> I think the question is not only data file but structure as well.
> 
> Problems:
> Storage of lists
> Logs
> Preferences
> 
> Regards,
> 
> Wayne
> 
> 
> Wayne Stewart
> about.me/waynestewart
> 
> 
> 
> 
> On 12 January 2017 at 13:09, Spencer Hinsdale  wrote:
>> The v15 R4 Upgrade docs show features to store the Data File Path in User 
>> Prefs, etc...
>> 
>> ftp://ftp-public.4d.fr/Documents/Products_Documentation/LastVersions/Line_15R4/VIntl/4D_Upgrade_v15_R4.pdf
>>  
>> 
>> 
>> 
>> In v15 it is possible to set compatibility to allow read-only (to suppress 
>> the error) and then in code determine if the "default" data file is being 
>> opened, read your own prefs, and Open Data File (last saved to your prefs).
>> 
>> 
>>> On Jan 11, 2017, at 5:36 PM, John DeSoi  wrote:
>>> 
>>> Hi Piotr,
>>> 
>>> 
 On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders 
  wrote:
 
 So, my question is (again) :
 Does anybody know of a way to run an application build with 4D Volume 
 Desktop in a write protected citrix environment, without using virtual 
 store and elevated privileges?
 Now, in v15, I am getting an alert saying "Database is write protected". 
 Because 4D still wants to store the location of the datafile in the 
 structure?
 I thought this was possible in v15
>> 
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Wayne Stewart
Hi,

I think the question is not only data file but structure as well.

Problems:
Storage of lists
Logs
Preferences

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 12 January 2017 at 13:09, Spencer Hinsdale  wrote:
> The v15 R4 Upgrade docs show features to store the Data File Path in User 
> Prefs, etc...
>
> ftp://ftp-public.4d.fr/Documents/Products_Documentation/LastVersions/Line_15R4/VIntl/4D_Upgrade_v15_R4.pdf
>  
> 
>
>
> In v15 it is possible to set compatibility to allow read-only (to suppress 
> the error) and then in code determine if the "default" data file is being 
> opened, read your own prefs, and Open Data File (last saved to your prefs).
>
>
>> On Jan 11, 2017, at 5:36 PM, John DeSoi  wrote:
>>
>> Hi Piotr,
>>
>>
>>> On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders 
>>>  wrote:
>>>
>>> So, my question is (again) :
>>> Does anybody know of a way to run an application build with 4D Volume 
>>> Desktop in a write protected citrix environment, without using virtual 
>>> store and elevated privileges?
>>> Now, in v15, I am getting an alert saying "Database is write protected". 
>>> Because 4D still wants to store the location of the datafile in the 
>>> structure?
>>> I thought this was possible in v15
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Spencer Hinsdale
The v15 R4 Upgrade docs show features to store the Data File Path in User 
Prefs, etc...

ftp://ftp-public.4d.fr/Documents/Products_Documentation/LastVersions/Line_15R4/VIntl/4D_Upgrade_v15_R4.pdf
 



In v15 it is possible to set compatibility to allow read-only (to suppress the 
error) and then in code determine if the "default" data file is being opened, 
read your own prefs, and Open Data File (last saved to your prefs).


> On Jan 11, 2017, at 5:36 PM, John DeSoi  wrote:
> 
> Hi Piotr,
> 
> 
>> On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders 
>>  wrote:
>> 
>> So, my question is (again) :
>> Does anybody know of a way to run an application build with 4D Volume 
>> Desktop in a write protected citrix environment, without using virtual store 
>> and elevated privileges?
>> Now, in v15, I am getting an alert saying "Database is write protected". 
>> Because 4D still wants to store the location of the datafile in the 
>> structure?
>> I thought this was possible in v15

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Wayne Stewart
Hi,

There is no way to do this.  4D writes into the application directory.
Someone please correct me if I'm wrong.

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 12 January 2017 at 12:36, John DeSoi  wrote:
> Hi Piotr,
>
>
>> On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders 
>>  wrote:
>>
>> So, my question is (again) :
>> Does anybody know of a way to run an application build with 4D Volume 
>> Desktop in a write protected citrix environment, without using virtual store 
>> and elevated privileges?
>> Now, in v15, I am getting an alert saying "Database is write protected". 
>> Because 4D still wants to store the location of the datafile in the 
>> structure?
>> I thought this was possible in v15
>
> See this link about setting up a read only default data file.
>
> http://doc.4d.com/4Dv15/4D/15/Default-data-file-in-merged-applications.300-2018649.en.html
>
>
>>
>> Also I read somewhere that writing in the structure file is necessary for 
>> other stuff. Does anybody know what other stuff?
>
> ARRAY TO LIST comes to mind. I'm sure there are other commands. I'm not doing 
> any Windows deployment right now, by maybe in the near future. I'm hoping 4D 
> can install in the normal application directory before I have to deal with it 
> :).
>
> John DeSoi, Ph.D.
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread John DeSoi
Hi Piotr,


> On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders 
>  wrote:
> 
> So, my question is (again) :
> Does anybody know of a way to run an application build with 4D Volume Desktop 
> in a write protected citrix environment, without using virtual store and 
> elevated privileges?
> Now, in v15, I am getting an alert saying "Database is write protected". 
> Because 4D still wants to store the location of the datafile in the structure?
> I thought this was possible in v15

See this link about setting up a read only default data file.

http://doc.4d.com/4Dv15/4D/15/Default-data-file-in-merged-applications.300-2018649.en.html


> 
> Also I read somewhere that writing in the structure file is necessary for 
> other stuff. Does anybody know what other stuff?

ARRAY TO LIST comes to mind. I'm sure there are other commands. I'm not doing 
any Windows deployment right now, by maybe in the near future. I'm hoping 4D 
can install in the normal application directory before I have to deal with it 
:).

John DeSoi, Ph.D.



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Piotr Chabot Stadhouders
Hi,

4D v15.3, Windows

I know in the past (4D v13 / v14) It wasn't possible  to use an application, 
build with 4D volume desktop, in a write protected environment.
However, when dealing with hosting parties delivering citrix environments, they 
almost always demand applications to be installed in a write protected Programs 
folder
They also don't like the concept of a virtual store.
They also don't want to give elevated privileges (run as Administrator)

So, my question is (again) :
Does anybody know of a way to run an application build with 4D Volume Desktop 
in a write protected citrix environment, without using virtual store and 
elevated privileges?
Now, in v15, I am getting an alert saying "Database is write protected". 
Because 4D still wants to store the location of the datafile in the structure?
I thought this was possible in v15

Also I read somewhere that writing in the structure file is necessary for other 
stuff. Does anybody know what other stuff?

Thanks in advance,

Piotr
Timeff bv
The Netherlands

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**