Topics Topics Help/Instructions Help Edit Profile Profile Member List Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  
Randem Systems Support Board * InnoScript - Wish List * Adding Folders < Previous Next >

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 1354
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, August 03, 2009 - 09:22 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

The next version will include a function that will detect empty folders entered into the Add Folders Tab then create a [Dir] section for the empty folders
Top of pagePrevious messageNext messageBottom of page Link to this message

paul_uk
New member
Username: paul_uk

Post Number: 9
Registered: 04-2008

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, August 03, 2009 - 08:28 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Ok, thanks again
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 1353
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, August 03, 2009 - 06:55 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

You cannot control where the section ends up when you add it, it does not matter where it is in the script anyway. There is NO correct place... IE. Sequence in the script.

The color you see is not red, Check your color chart from the Color menu in InnoScript, you can change the color if you like. The color is for lines added to the script.
Top of pagePrevious messageNext messageBottom of page Link to this message

paul_uk
New member
Username: paul_uk

Post Number: 8
Registered: 04-2008

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, August 03, 2009 - 06:09 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Hi
Inno setup throws an error when you compile, if the folder you are creating is empty, because it does a copy folder\*.* to create the folder. Does this make sense?

Now, I have tried using a template. I added the following to a blank text file and saved it as a .tpl, then added it inside the template tab.

[Dirs]
Name: "{commonappdata}\folder 1\Shop\exportfiles"

It put the line in when the script was generated but it was at the end and in red. How do I get it added at the correct place i.e. before [UninstallDelete] section and after [icons] and why is it in red? I'm obviously missing something.

Regards

paul
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 1352
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, August 02, 2009 - 09:23 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Aloha Paul,

InnoScript does allow you to use the Add Folders selection to add an Empty folder, although I have never tested it to deploy that empty folder. Does this give an error message or something that causes the folder not to deploy?

If you want to add an empty folder you can do that via using templates. You include the section and the line that you want to add to your script and when you re-create the script the line will automatically be added to your script. Of course you have to add the template created to the templates tab.
Top of pagePrevious messageNext messageBottom of page Link to this message

paul_uk
New member
Username: paul_uk

Post Number: 7
Registered: 04-2008

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, August 02, 2009 - 06:59 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Could we have a feature that allows the adding of empty folders. The current 'add folders' appears to add only folders that must contain files. It would be useful to add blank folders by getting innoscript to add the [DIR] directive to inno setup.
Hope this makes sense.

Regards

Paul

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration