/build/static/layout/Breadcrumb_cap_w.png

WPS 6.0: add a file to c:\

I have create an msi for Travel Control with WPS 6.0. During testing i noticed that the application needs a file in c:\ which the application creates the first time when it's been executed.

I copied that particular file to my packaging machine, opened the msi with WPS and wanted to add this file to the destination computer but noticed there is no c:\ or root is the destination pane.

Can anybody tell me how i can add this file to c:\ in WPS?

Every help will be appreciated.

0 Comments   [ + ] Show comments

Answers (10)

Posted by: naveen.packager 12 years ago
Green Belt
2
Do like this

First check what is the parentdir for sourcedir in DIRECTORY table(It will be TARGETDIR)

Add a new component from setupeditor in components tab--->give the component name and in DIRCTORY give TARGETDIR and continue--->add the file from source path--->assighn it to a feauture and compile.

In the FILES view in installation expert the file should come under destination computer
Posted by: Teitan 12 years ago
Senior Purple Belt
0
You could use the systemdrive environment variable. Use it in your MSI with [%systemdrive]

Also you can use the ROOTDRIVE property but make sure to set it to C:\ in the property table first.
Posted by: venu.dusari 12 years ago
Senior Yellow Belt
0
Hi,
you can create a new component and select the desired file and under destination select as [WindowsVolume] & set a key file [;)].

Thanks,
VD
Posted by: SandeepPanat 12 years ago
Orange Senior Belt
0
Yes, correct. However, instead of WindowsVolume property, I'd suggest to make use of ROOTDRIVE property (by setting it to C:\). As you specifically want it to be copied to C:\
Posted by: TalkingMarble 12 years ago
Orange Belt
0
I tried the [%systemdrive] option but as i'm not an experienced packager and have limited knowledge i ended up with the wrong result (C:\[%systemdrive]\file).

Here are the changes i made to my msi:
- open the msi with WPS
- in installation expert - files - i added the file from my computer to the windows directory in the destination pane
- in setup expert - components tab - i rightclicked the file - selected details - in the components details from the file i put [%systemdrive] in directory
- compiled the msi
Posted by: TalkingMarble 12 years ago
Orange Belt
0
ORIGINAL: naveen.packager

Do like this

First check what is the parentdir for sourcedir in DIRECTORY table(It will be TARGETDIR)

Add a new component from setupeditor in components tab--->give the component name and in DIRCTORY give TARGETDIR and continue--->add the file from source path--->assighn it to a feauture and compile.

In the FILES view in installation expert the file should come under destination computer


There is no SOURCEDIR entry in the DIRECTORY table. SOURCEDIR is only specified as the defaultdit in the TARGETDIR entry.
Posted by: naveen.packager 12 years ago
Green Belt
0
There is no SOURCEDIR entry in the DIRECTORY table. SOURCEDIR is only specified as the defaultdit in the TARGETDIR entry.
That's what I am speaking about. Do what I have said above and you will be done.
Posted by: aogilmor 12 years ago
9th Degree Black Belt
0
last time I had to do something like this I used a CA but I think naveen's suggestion is worth a look. Standard actions always better if the task can be thus managed.
Posted by: jerry05031111 12 years ago
Yellow Belt
0
Here are the changes i made to my msi:
- open the msi with WPS
- in installation expert - files - i added the file from my computer to the windows directory in the destination pane
- in setup expert - components tab - i rightclicked the file - selected details - in the components details from the file i put [%systemdrive] in directory
- compiled the msi
[url=http://office2007use127.terapad.com/index.cfm?fa=contentNews.newsDetails&newsID=2299536&from=list&directoryId=558466]What Is The Document Inspector For Microsoft Office 2007[/url]
[url=http://office2007use127.momaroo.com/752630650/microsoft-office-2007-hold-off-on-upgrading/]Microsoft Office 2007 Hold Off On Upgrading[/url]
[url=http://office2007use127.centerblog.net/1-download-microsoft-office-2007-reaction]Download Microsoft Office 2007 Reaction[/url]
Posted by: TalkingMarble 12 years ago
Orange Belt
0
Its working, thanks everybody for their help.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ