Hi all,
I have a problem.How to add a file in c:\ while repackaging with wise package studio.while installing msi I need that file in that drive. please help me to find it?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
do you want to find the file or add the file to the C:\?
In case you want to add it via your package then make sure you have the file in a component that installs to TARGETDIR provided you are installing things to the C:\.
Answered 02/14/2010 by: India_Repackaging
Blue Belt

Please log in to comment
1
ORIGINAL: Tijo

Hi all,
I have a problem.How to add a file in c:\ while repackaging with wise package studio.while installing msi I need that file in that drive. please help me to find it?




Add a row in the Directory table as below..

Set WindowsVolume as a directory in the Directory table and then add TARGETDIR as the directory_parent and . in the defaultdir column
Add another row to the directory table with TARGETDIR as your directory_parent giving appropriate names and that should create a directory structure for you on the C:\ drive 9WindowsVolume)
Answered 02/15/2010 by: slay_u
Orange Belt

Please log in to comment
0
Hi Slay_u, I need to do the same (create a file in C:\), but I don't understand very well your procedure, could you explain me?

Thank you!
Answered 03/09/2010 by: cmi2000
Senior Purple Belt

Please log in to comment
0
cmi2000, since you're (apparently) using Wise why don't you just capture it and see for yourself? [;)]
Answered 03/09/2010 by: captain_planet
Second Degree Brown Belt

Please log in to comment
0
I don't know why... but the capture isn't taking this file, and Wise Package Studio don't let me put a file in C:\
Answered 03/09/2010 by: cmi2000
Senior Purple Belt

Please log in to comment
0
hmmm .... do one thing set ROOTDRIVE property to C:\.................and then set the INSTALLDIR property to ROOTDRIVE and then add the file in the component.and then set the destination to INSTALLDIR for that component which u have added
Answered 03/29/2010 by: eskonar
Senior Yellow Belt

Please log in to comment
0
Just to add some clarity (and as per the SDK guidelines), if you wanted a folder 'MyFolder' to install to the root of C:\, the Directory table should really look like this:

Directory...............Directory_Parent.......DefaultDir
INSTALLDIR...........TARGETDIR...............MyFolder
TARGETDIR..........................................SOURCEDIR

Ensure you have a property in your Property table called ROOTDRIVE set to, say, C:\
Answered 03/30/2010 by: captain_planet
Second Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity