stuikerd
Pilgrim

Change Application Target folder

In the application data: Files and folders.

The destination computers folder i have set there is: Application target folder > test

Now from in installscript i want to change the test folder. How do you do this?

When i do Targerdir="c:"^"Test2";

It installs it to c:\test2\test


thx
Labels (1)
0 Kudos
5 Replies
CHANDINATHREDDY
Pilgrim

Re: Change Application Target folder

i didnt get you , do you mean that you want to change the target directory at run time ,but on what basis do you want to change..is it user input,or system property..be clear
0 Kudos
stuikerd
Pilgrim

Re: Change Application Target folder

CHANDINATHREDDY wrote:
i didnt get you , do you mean that you want to change the target directory at run time ,but on what basis do you want to change..is it user input,or system property..be clear


The default folder is: c:\test

The user can specify in a properties file the target folder name. For example MyAppFolder.

Then i need to set the new targetfolder to MyAppFolder.

But when i just do Targetdir="c:"^MyAppFolder.

It install it to c:\MyAppFolder\test

but it should be c:\MyAppFolder without the test
0 Kudos
stuikerd
Pilgrim

Re: Change Application Target folder

I got it working 😉

this can be closed
0 Kudos
CHANDINATHREDDY
Pilgrim

Re: Change Application Target folder

can you tell me what you have changed ..
i belive that you have changed the root drive
0 Kudos
stuikerd
Pilgrim

Re: Change Application Target folder

I deleted the application target folder.

And before installation i do: Targetdir= targetdir+"you're folder name"
0 Kudos