cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jophyjob
Level 4

How to install Application in Public Document ?

Hello All,
I am new to InstallShield , I don't Know how to install application in public document ("all user\Documents" or windows 8 "C:\Users\Public\Documents")
Now i am using Wix In that we can do this by




But in InstallShield when I use CommonAppDataFolder or ALLUSERPROFILE it install in different folder not in public folder . When i search got some links
http://community.flexerasoftware.com/showthread.php?201995-Predefined-folder-for-PUBLIC-Documents" tried this link but not working , and
"http://community.flexerasoftware.com/archive/index.php?t-196780.html" , but it look like some complex and i don't under stand how to do it . Can you provide one sample to do this InstallShield .

with regard ,
jophy
0 Kudos
(5) Replies
jophyjob
Level 4

Sorry for previous post ,
The link "http://community.flexerasoftware.com/showthread.php?201995-Predefined-folder-for-PUBLIC-Documents" solution works .. but it show different path in install UI . But properly install in public folder in Window 8 ( i attached image of setup process). I have some doubts ,

1, Is this will work for all version of windows ( windows Xp and 7 )

2, How to make the display path same as install path in Install UI .
0 Kudos
chiranjeevi
Level 7 Flexeran
Level 7 Flexeran

Hello,

Here are answers in italics for your questions:

1> Is this will work for all version of windows ( windows Xp and 7 )

--No, Public documents location changes from OS to OS.
Please refer below link for more information:
http://social.technet.microsoft.com/wiki/contents/articles/6083.windows-xp-folders-and-locations-vs-windows-7-and-vista.aspx


2, How to make the display path same as install path in Install UI . .

--In General Information view, you will need to change the "INSTALLDIR" Path to required path([ALLUSERPROFILE]\Documents\etc.. in this case) by clicking on the ellipses (...) button to change the path displayed in install UI .

Hope this helps.

Thanks,
Chiranjeevi
0 Kudos
jophyjob
Level 4

Hello chiranjeevi,

If this process not work on all OS version , any other way to do this in all Os version ( win XP and 7) . And

How to set install path in design time .

with regards ,
jophy
0 Kudos
chiranjeevi
Level 7 Flexeran
Level 7 Flexeran

Hello,

You will need to use any supported custom actions(Dll,MSIDLL,VBscript,JScript etc )to change the INSTALLDIR path as per your requirements.Then sequence the custom action during After Initialization action.

Thanks
Chiranjeevi
0 Kudos
jophyjob
Level 4

Thank you for the replay
0 Kudos