Re: Where to place (sub)stacks?
Hi Mark, Klaus- Thursday, September 17, 2009, 3:24:02 AM, you wrote: Yes, since you store the "binary" (tha actual "your_stack.rev" file) in a custom property! I also do this insted of cloning a stack if necessary, since you can also do: ... put the cStack01 of this stack into tStack go stack tStack ... Kinda "virtual stack" :-) I also compress the stack before storing to save space: set the cStack01 of this stack to compress(stack tStack) go stack decompress(the cStack01 of this stack) You cunning fox :-) -- -Mark Wieder mwie...@ahsoftware.net Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to place (sub)stacks?
Klaus- Thursday, September 17, 2009, 3:24:02 AM, you wrote: > Yes, since you store the "binary" (tha actual "your_stack.rev" file) > in a custom property! > I also do this insted of cloning a stack if necessary, since you can > also do: > ... > put the cStack01 of this stack into tStack > go stack tStack > ... > Kinda "virtual stack" :-) I also compress the stack before storing to save space: set the cStack01 of this stack to compress(stack tStack) go stack decompress(the cStack01 of this stack) -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to place (sub)stacks?
Hi David, On 16 Sep 2009, at 6:00 pm, Klaus wrote: If I would ever need to let the users modify and save STACK files, I would go this way: ... 5. Pro: If a user deletes one of your stacks (c'mon, we all know how they are :-D) you can quickly replace it with a fresh copy! ... Klaus, This issue has caused me considerable pain in the past, but I have sorted most of it out since Vista flounced onto the OS stage with such ill placed confidence. I have just had a results stack in the installation folder, and copied it to the users documents folder if it isn't already there. (This is a little unsatisfactory in that the results file isn't exactly a user's document in the simplest sense, but it does work.) However, I have never come across the stack as a custom property in this context. What is the advantage of doing it that way? The advantage is that you do not have "files" anymore that you need to manage somehow. Is it that you set the property in the IDE, and so don't actually need the stack to be anywhere else in the installation once you build? Yes, since you store the "binary" (tha actual "your_stack.rev" file) in a custom property! I also do this insted of cloning a stack if necessary, since you can also do: ... put the cStack01 of this stack into tStack go stack tStack ... Kinda "virtual stack" :-) Intrigued.. David Glasgow Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to place (sub)stacks?
On 16 Sep 2009, at 6:00 pm, Klaus wrote: If I would ever need to let the users modify and save STACK files, I would go this way: 1. Create all the stacks that will be modified and saved by the end user as MAIN stacks! 2. Import each of these stacks into a custom porperty of your SPLASH/main stack ... set the cStack01 of stack "splash or whatever" to url("binfile:" & path_to_your_stack) ... 3. When the app starts, I would check if these stacks have already been "outputted" into the users "preferences folder: Mas OS X: specialfolderpath("preferences") ## Current user only Windows: specialfolderpath(26) ## Current user only Might be good style to create a subfolder for your app there! If the stacks are not yet there, I would output all the stacks from your CPs: ... put specialfolderpath("preferences") into tFolder put the cStack01 of stack "splash or whatever" into url("binfile:" & tFolder & "/" & "name of original stack here...") ## NO suffix necessary! ... 4. Now the user (your app) can open any of these stack, modify them and save them again without permission problems. 5. Pro: If a user deletes one of your stacks (c'mon, we all know how they are :-D) you can quickly replace it with a fresh copy! Know what I mean? Drop a line if not :-) ,,, Beat Cornaz Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com Klaus, This issue has caused me considerable pain in the past, but I have sorted most of it out since Vista flounced onto the OS stage with such ill placed confidence. I have just had a results stack in the installation folder, and copied it to the users documents folder if it isn't already there. (This is a little unsatisfactory in that the results file isn't exactly a user's document in the simplest sense, but it does work.) However, I have never come across the stack as a custom property in this context. What is the advantage of doing it that way? Is it that you set the property in the IDE, and so don't actually need the stack to be anywhere else in the installation once you build? Intrigued.. David Glasgow ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to place (sub)stacks?
Great answer from Klaus. Bravo! That's the way to do it, IMHO. Best, Jerry Daniels Watch tRev - The Movie http://reveditor.com/trev-the-movie On Sep 16, 2009, at 7:37 AM, Klaus Major wrote: Hi Beat, I am completing my first commercial standalone and I am unsure of where to place the (sub)stacks on the user's machine. The stack consists of a splash (main stack) with about 30 substacks. Some of the substacks display data which is changed by the user and needs to be saved. Now, where do I put my stacks on the users machine? Until now I put the whole package (main stack + all substacks) into the Application Folder. But I heard that this might cause problems (i.e. in Vista) because some setups do not allow to write to files in the Application Folder. Is it a good way to place those substacks that need writing to, into the Application Support Folder? If so, how do I do that with the installer? I got help from Lars Bremer with the Inno Setup Installer, which works great, but places all (sub)stacks into the Application Folder. How will I solve this? If I would ever need to let the users modify and save STACK files, I would go this way: 1. Create all the stacks that will be modified and saved by the end user as MAIN stacks! 2. Import each of these stacks into a custom porperty of your SPLASH/ main stack ... set the cStack01 of stack "splash or whatever" to url("binfile:" & path_to_your_stack) ... 3. When the app starts, I would check if these stacks have already been "outputted" into the users "preferences folder: Mas OS X: specialfolderpath("preferences") ## Current user only Windows: specialfolderpath(26) ## Current user only Might be good style to create a subfolder for your app there! If the stacks are not yet there, I would output all the stacks from your CPs: ... put specialfolderpath("preferences") into tFolder put the cStack01 of stack "splash or whatever" into url("binfile:" & tFolder & "/" & "name of original stack here...") ## NO suffix necessary! ... 4. Now the user (your app) can open any of these stack, modify them and save them again without permission problems. 5. Pro: If a user deletes one of your stacks (c'mon, we all know how they are :-D) you can quickly replace it with a fresh copy! Know what I mean? Drop a line if not :-) ,,, Beat Cornaz Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to place (sub)stacks?
Hi Beat, I am completing my first commercial standalone and I am unsure of where to place the (sub)stacks on the user's machine. The stack consists of a splash (main stack) with about 30 substacks. Some of the substacks display data which is changed by the user and needs to be saved. Now, where do I put my stacks on the users machine? Until now I put the whole package (main stack + all substacks) into the Application Folder. But I heard that this might cause problems (i.e. in Vista) because some setups do not allow to write to files in the Application Folder. Is it a good way to place those substacks that need writing to, into the Application Support Folder? If so, how do I do that with the installer? I got help from Lars Bremer with the Inno Setup Installer, which works great, but places all (sub)stacks into the Application Folder. How will I solve this? If I would ever need to let the users modify and save STACK files, I would go this way: 1. Create all the stacks that will be modified and saved by the end user as MAIN stacks! 2. Import each of these stacks into a custom porperty of your SPLASH/ main stack ... set the cStack01 of stack "splash or whatever" to url("binfile:" & path_to_your_stack) ... 3. When the app starts, I would check if these stacks have already been "outputted" into the users "preferences folder: Mas OS X: specialfolderpath("preferences") ## Current user only Windows: specialfolderpath(26) ## Current user only Might be good style to create a subfolder for your app there! If the stacks are not yet there, I would output all the stacks from your CPs: ... put specialfolderpath("preferences") into tFolder put the cStack01 of stack "splash or whatever" into url("binfile:" & tFolder & "/" & "name of original stack here...") ## NO suffix necessary! ... 4. Now the user (your app) can open any of these stack, modify them and save them again without permission problems. 5. Pro: If a user deletes one of your stacks (c'mon, we all know how they are :-D) you can quickly replace it with a fresh copy! Know what I mean? Drop a line if not :-) ,,, Beat Cornaz Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: Where to place (sub)stacks?
Hi Beat, As I have learned recently you actually don't need an "installer" for Mac if you don't do any sophisticated things. Just look for a tool (there are different freeware tools), which packs all stuff into a dmg file and provide a link in your dmg file to the program folder where the user can move your app folder to. On Vista and Win 7 you are right not to put any files, which have to be changed by the user into the program files dir, because they will be virtualized by Vista on the first change, which brings you a lot of trouble in the future. Thats why the users documents folder or application data folder (for all users) is the better choice. In inno you can define more than one input folder and you can define different target folders for each file. If you write me offlist I can provide you an inno example file for that case. Tiemo > -Ursprüngliche Nachricht- > Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution- > boun...@lists.runrev.com] Im Auftrag von Beat Cornaz > Gesendet: Mittwoch, 16. September 2009 10:47 > An: use-revolution@lists.runrev.com > Betreff: Where to place (sub)stacks? > > I am completing my first commercial standalone and I am unsure of > where to place the (sub)stacks on the user's machine. > > The stack consists of a splash (main stack) with about 30 substacks. > Some of the substacks display data which is changed by the user and > needs to be saved. > Now, where do I put my stacks on the users machine? Until now I put > the whole package (main stack + all substacks) into the Application > Folder. > But I heard that this might cause problems (i.e. in Vista) because > some setups do not allow to write to files in the Application Folder. > > Is it a good way to place those substacks that need writing to, into > the Application Support Folder? If so, how do I do that with the > installer? I got help from Lars Bremer with the Inno Setup Installer, > which works great, but places all (sub)stacks into the Application > Folder. How will I solve this? > > Are there any other things that I need to be aware of? To be honest, > I am a tad nervous, as I got into contact with someone who wants to > distribute my product big. I am not completely done (I found out) and > he wants to move quick. I did not do extensive testing on different > systems, just OSX 10.4 and Windows XP 2000. > > How will I make an installer for mac OSX? > > Thanks a lot for any help. > > Beat Cornaz > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Where to place (sub)stacks?
I am completing my first commercial standalone and I am unsure of where to place the (sub)stacks on the user's machine. The stack consists of a splash (main stack) with about 30 substacks. Some of the substacks display data which is changed by the user and needs to be saved. Now, where do I put my stacks on the users machine? Until now I put the whole package (main stack + all substacks) into the Application Folder. But I heard that this might cause problems (i.e. in Vista) because some setups do not allow to write to files in the Application Folder. Is it a good way to place those substacks that need writing to, into the Application Support Folder? If so, how do I do that with the installer? I got help from Lars Bremer with the Inno Setup Installer, which works great, but places all (sub)stacks into the Application Folder. How will I solve this? Are there any other things that I need to be aware of? To be honest, I am a tad nervous, as I got into contact with someone who wants to distribute my product big. I am not completely done (I found out) and he wants to move quick. I did not do extensive testing on different systems, just OSX 10.4 and Windows XP 2000. How will I make an installer for mac OSX? Thanks a lot for any help. Beat Cornaz ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution